gip command not found

In this troubleshooting guide we learn how to fix gip command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gip: command not found

or when using sudo you get the following error message

sudo: gip: command not found

Solutions to gip: command not found

How To Fix gip: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gip is provided by gip package.

gip is:

Gip provides system administrators with tools for IP address based calculations. For example, an administrator who needs to find out which IP prefix length equals the IP netmask 255.255.240.0, just types in the mask and gets the prefix length presented. But many more advanced calculations can be made. Gip can convert an address range into a list of prefix lengths. It can also split subnets using a given IP netmask or IP prefix length. Many more calculations are possible.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gip

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gip.

sudo apt -y install gip

Or if you have aptitude installed you can use the following command.

sudo aptitude install gip

Summary

In this tutorial we learn how to fix gip command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.