How To Install ipv6calc on CentOS 8
Introduction
In this tutorial we learn how to install ipv6calc
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ipv6calc.
Install ipv6calc on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install ipv6calc
using dnf
by running the following command:
sudo dnf -y install ipv6calc
Install ipv6calc on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the ipv6calc
package we can use the following command:
sudo dnf remove ipv6calc
ipv6calc Package Contents on CentOS 8
/usr/bin/ipv6calc
/usr/bin/ipv6loganon
/usr/bin/ipv6logconv
/usr/bin/ipv6logstats
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/4eceaab589c14f8f8919c0044ccd7b79b86074
/usr/lib/.build-id/38
/usr/lib/.build-id/38/4ac2595d9b9801ffa14815278a695cfa072563
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/4dcc75ff598e832b0b58699e9674acb78af6ef
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/0627163424c2feadc6079c388db14156ac5e09
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/523aa3bf26d05e646599c1a3569b27005fdda5
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/05d6dc558ed277aa9e911378fb258a24c20601
/usr/lib64/libipv6calc.so.3.2.0
/usr/lib64/libipv6calc_db_wrapper.so.3.2.0
/usr/share/doc/ipv6calc
/usr/share/doc/ipv6calc/CREDITS
/usr/share/doc/ipv6calc/ChangeLog
/usr/share/doc/ipv6calc/README
/usr/share/doc/ipv6calc/README.DBIP
/usr/share/doc/ipv6calc/README.DBIP2
/usr/share/doc/ipv6calc/README.External
/usr/share/doc/ipv6calc/README.GeoIP
/usr/share/doc/ipv6calc/README.GeoIP2
/usr/share/doc/ipv6calc/README.IP2Location
/usr/share/doc/ipv6calc/README.MaxMindDB
/usr/share/doc/ipv6calc/TODO
/usr/share/doc/ipv6calc/USAGE
/usr/share/doc/ipv6calc/ipv6calc.html
/usr/share/doc/ipv6calc/ipv6calc.lyx
/usr/share/doc/ipv6calc/ipv6calc.sgml
/usr/share/doc/ipv6calc/ipv6calc.xml
/usr/share/ipv6calc/db
/usr/share/ipv6calc/examples/ipv6loganon
/usr/share/ipv6calc/examples/ipv6loganon/README
/usr/share/ipv6calc/examples/ipv6logconv
/usr/share/ipv6calc/examples/ipv6logconv/analog-dist-combined.cfg
/usr/share/ipv6calc/examples/ipv6logconv/analog-dist.cfg
/usr/share/ipv6calc/examples/ipv6logconv/analog-ipv6calc-descriptions.txt
/usr/share/ipv6calc/examples/ipv6logconv/ipv6calc.tab
/usr/share/ipv6calc/examples/ipv6logconv/run_analog.sh
/usr/share/ipv6calc/examples/ipv6logstats
/usr/share/ipv6calc/examples/ipv6logstats/README
/usr/share/ipv6calc/examples/ipv6logstats/collect_ipv6logstats.pl
/usr/share/ipv6calc/examples/ipv6logstats/example_gnuplot.cmd
/usr/share/ipv6calc/examples/ipv6logstats/example_ipv6logstats.sh
/usr/share/ipv6calc/selinux/ipv6calcweb-databases-in-var.te
/usr/share/ipv6calc/tools/DBIP-update.sh
/usr/share/ipv6calc/tools/GeoIP-update.sh
/usr/share/ipv6calc/tools/IP2Location-update.sh
/usr/share/ipv6calc/tools/ipv6calc-create-registry-list-ipv4.pl
/usr/share/ipv6calc/tools/ipv6calc-create-registry-list-ipv6.pl
/usr/share/ipv6calc/tools/ipv6calc-db-update.sh
/usr/share/ipv6calc/tools/ipv6calc-registries-check-run-create.sh
/usr/share/ipv6calc/tools/ipv6calc-update-registries.sh
/usr/share/licenses/ipv6calc
/usr/share/licenses/ipv6calc/COPYING
/usr/share/licenses/ipv6calc/LICENSE
/usr/share/man/man8/ipv6calc.8.gz
/usr/share/man/man8/ipv6loganon.8.gz
/usr/share/man/man8/ipv6logconv.8.gz
/usr/share/man/man8/ipv6logstats.8.gz
References
Summary
In this tutorial we learn how to install ipv6calc
on CentOS 8 using yum and dnf.