How To Install ipv6calc on Fedora 34

ipv6calc is IPv6 address format change and calculation utility IPv6 address format change and calculation utility

Introduction

In this tutorial we learn how to install ipv6calc on Fedora 34.

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 ipv6calc 3.2.0 56.fc34 x86_64 1.3 M ipv6calc-3.2.0-56.fc34.src.rpm updates IPv6 address format change and calculation utility http GPLv2 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ipv6calc.

Install ipv6calc on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove ipv6calc

ipv6calc Package Contents on Fedora 34

/usr/bin/ipv6calc
/usr/bin/ipv6loganon
/usr/bin/ipv6logconv
/usr/bin/ipv6logstats
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/33ea2784dbec22f47eb0a041073bf14a8b12de
/usr/lib/.build-id/05
/usr/lib/.build-id/05/3bc1f722f3c35d72533c636b43e0b84b9a1fe9
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/7fa81620f06e962902eeb9761133cd59e2e302
/usr/lib/.build-id/25
/usr/lib/.build-id/25/0225d32684cc6cbe962e1e1f5e846a9e2f4f44
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/8926d697c9313b2353ed84bb8f534d46ddc946
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/0cd7397a7cb86b8fb16ed91ca5281e2325d871
/usr/lib/libipv6calc.so.3.0.2
/usr/lib/libipv6calc_db_wrapper.so.3.0.2
/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
/usr/bin/ipv6calc
/usr/bin/ipv6loganon
/usr/bin/ipv6logconv
/usr/bin/ipv6logstats
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/c2216d49cca0353a5e91554c20e8e004b16eb1
/usr/lib/.build-id/35
/usr/lib/.build-id/35/84d01317acd075a4c25fb6635a6bdcbf549cbe
/usr/lib/.build-id/37
/usr/lib/.build-id/37/4f1c6f3ae5fcf590e6dfa1e4b4a6b847b45e97
/usr/lib/.build-id/81
/usr/lib/.build-id/81/bb90e1c75148249b06d57e1a60511c27ed270c
/usr/lib/.build-id/89
/usr/lib/.build-id/89/5c888d8c1b430265e41180b53d889fc43b2eac
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/925a284d9a11d77b6cde1a754fac9b9d473670
/usr/lib64/libipv6calc.so.3.0.2
/usr/lib64/libipv6calc_db_wrapper.so.3.0.2
/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
/usr/bin/ipv6calc
/usr/bin/ipv6loganon
/usr/bin/ipv6logconv
/usr/bin/ipv6logstats
/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/af5e353514b64424ba5c636bd5c04037817c0c
/usr/lib/.build-id/71
/usr/lib/.build-id/71/e6babd11522325f95bb506b148208c97521afe
/usr/lib/.build-id/72
/usr/lib/.build-id/72/a57fb9cd2846acb55079b00b71ded37995a07c
/usr/lib/.build-id/81
/usr/lib/.build-id/81/6fec2c9e99d5c57831e1fb2ae671572b36a64a
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/d553b73c337259c6a2efc46883b926b766b372
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/45dafe63c54f1b1c202479da80a9a9bd1029f8
/usr/lib/libipv6calc.so.3.2.0
/usr/lib/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
/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/34a49e869a0de9df3930c7101c69a8cf231797
/usr/lib/.build-id/53
/usr/lib/.build-id/53/cb33f3064a681fc6a6718b7d93542ff00d5eac
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/514b685838b91f9ffc23eb6b0c7128b88f5a84
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/6637405abd676d6f00cc46473e75c162a0163a
/usr/lib/.build-id/88
/usr/lib/.build-id/88/4c0172a5ebfc80d964e2eeac9616b092cde8f1
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/33136dd29aad15152dfcde702f1d54664c323f
/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 Fedora 34 using yum and dnf.