ip-info command not found

In this troubleshooting guide we learn how to fix ip-info command not found error message

Introduction

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

ip-info: command not found

or when using sudo you get the following error message

sudo: ip-info: command not found

Solutions to ip-info: command not found

How To Fix ip-info: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ip-info is provided by libnet-abuse-utils-perl package.

libnet-abuse-utils-perl is:

Net::Abuse::Utils provides several functions useful for determining information about an IP address including contact/reporting addresses, ASN/network info, reverse DNS, and DNSBL listing status. Functions which take an IP accept either IPv6 or IPv4 IPs unless indicated otherwise.

It also contains a small command-line tool called ip-info which on the one hand show-cases the capabilities of this Perl module, but is also useful in general for gathering information about some IP address.

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

sudo apt-get -y install libnet-abuse-utils-perl

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

You can also use apt command to install libnet-abuse-utils-perl.

sudo apt -y install libnet-abuse-utils-perl

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

sudo aptitude install libnet-abuse-utils-perl

Summary

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