How To Install ipv6calc on Debian 9

In this tutorial we learn how to install ipv6calc on Debian 9. ipv6calc is small utility for manipulating IPv6 addresses

Introduction

In this tutorial we learn how to install ipv6calc on Debian 9.

What is ipv6calc

ipv6calc is:

The ipv6calc utility can convert between different formats of IPv4 or IPv6 addresses. It can also show information about the addresses, including who they are assigned to on the Internet.

There are three methods to install ipv6calc on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ipv6calc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ipv6calc using apt-get by running the following command:

sudo apt-get -y install ipv6calc

Install ipv6calc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ipv6calc using apt by running the following command:

sudo apt -y install ipv6calc

Install ipv6calc Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ipv6calc using aptitude by running the following command:

sudo aptitude -y install ipv6calc

How To Uninstall ipv6calc on Debian 9

To uninstall only the ipv6calc package we can use the following command:

sudo apt-get remove ipv6calc

Uninstall ipv6calc And Its Dependencies

To uninstall ipv6calc and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove ipv6calc

Remove ipv6calc Configurations and Data

To remove ipv6calc configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge ipv6calc

Remove ipv6calc configuration, data, and all of its dependencies

We can use the following command to remove ipv6calc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ipv6calc

Dependencies

ipv6calc have the following dependencies:

References

Summary

In this tutorial we learn how to install ipv6calc package on Debian 9 using different package management tools: apt, apt-get and aptitude.