ipcalc-ng command not found

In this troubleshooting guide we learn how to fix ipcalc-ng command not found error message

Introduction

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

ipcalc-ng: command not found

or when using sudo you get the following error message

sudo: ipcalc-ng: command not found

Solutions to ipcalc-ng: command not found

How To Fix ipcalc-ng: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ipcalc-ng is provided by ipcalc-ng package.

ipcalc-ng is:

This is a modern console tool to assist in network address calculations for IPv4 and IPv6.

It acts as a tool to output human readable information about a network or address, as well as a tool suitable to be used by scripts or other programs.

It’s also a great tool for teach about network address calculations, as well as learn about it.

It supports printing a summary about the provided network address, multiple command line options per information to be printed, transparent IPv6 support, and in addition it will use libGeoIP, if available, to provide geographic information.

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

sudo apt-get -y install ipcalc-ng

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

You can also use apt command to install ipcalc-ng.

sudo apt -y install ipcalc-ng

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

sudo aptitude install ipcalc-ng

Summary

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