How To Install ipcalc on Kali Linux
Introduction
In this tutorial we learn how to install ipcalc
on Kali Linux.
What is ipcalc
ipcalc is:
ipcalc takes an IPv4 address and netmask and calculates the resulting broadcast, network, Cisco wildcard mask, and host range. By giving a second netmask, you can design sub- and supernetworks. It is also intended to be a teaching tool and presents the results as easy-to-understand binary values.
Originally, ipcalc was intended for use from the shell prompt, but a CGI wrapper is provided to enable colorful HTML display through a webserver. You can find it in /usr/share/doc/ipcalc/examples directory.
There are three methods to install ipcalc
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ipcalc Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install ipcalc
using apt-get
by running the following command:
Install ipcalc Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install ipcalc
using apt
by running the following command:
Install ipcalc Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
After updating apt database, We can install ipcalc
using aptitude
by running the following command:
How To Uninstall ipcalc on Kali Linux
To uninstall only the ipcalc
package we can use the following command:
Uninstall ipcalc And Its Dependencies
To uninstall ipcalc
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove ipcalc Configurations and Data
To remove ipcalc
configuration and data from Kali Linux we can use the following command:
Remove ipcalc configuration, data, and all of its dependencies
We can use the following command to remove ipcalc
configurations, data and all of its dependencies, we can use the following command:
Dependencies
ipcalc have the following dependencies:
References
Summary
In this tutorial we learn how to install ipcalc
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.