How To Install ipv6calc on AlmaLinux 8

In this tutorial we learn how to install ipv6calc in AlmaLinux 8. ipv6calc is IPv6 address format change and calculation utility

Introduction

In this tutorial we learn how to install ipv6calc on AlmaLinux 8.

What is ipv6calc

ipv6calc is a small utility which formats and calculates IPv4/IPv6 addresses in different ways. Install this package, if you want to retrieve information about a particular IPv4/IPv6/MAC address (-i ADDRESS) or make life easier in adding entries to reverse IPv6 DNS zones (e.g. -a 2001 In addition many format and type conversions are supported, see online help and/or given URL for more. Also this package contains additional programs - ipv6loganon - ipv6logconv (examples included for use with analog) - ipv6logstats (examples included for use with gnu-plot) - mod_ipv6calc Support for following databases - IP2Location ENABLED default directory for downloaded db files (requires also external library on system) - GeoIP v2 ENABLED default directory for downloaded db files (requires also external library on system) - db-ip.com v2 ENABLED (once generated database files are found on system) default directory for generated db files - External ENABLED default directory for generated db files Built WITH shared-library Available rpmbuild rebuild options –without ip2location –without mmdb (which disables GeoIP v2 and db-ip.com v2) –without external –without shared –without mod_ipv6calc

We can use yum or dnf to install ipv6calc on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ipv6calc.

Install ipv6calc on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ipv6calc

Install ipv6calc on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ipv6calc

How To Uninstall ipv6calc on AlmaLinux 8

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

sudo dnf remove ipv6calc

References

Summary

In this tutorial we learn how to install ipv6calc on AlmaLinux 8 using yum and dnf.