How To Install ipcalc on Fedora 36

In this tutorial we learn how to install ipcalc in Fedora 36. ipcalc is IP network address calculator

Introduction

In this tutorial we learn how to install ipcalc on Fedora 36.

What is ipcalc

ipcalc provides a simple way to calculate IP information for a host or network. Depending on the options specified, it may be used to provide IP network information in human readable format, in a format suitable for parsing in scripts, generate random private addresses, resolve an IP address, or check the validity of an address.

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

Install ipcalc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ipcalc

Install ipcalc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ipcalc

How To Uninstall ipcalc on Fedora 36

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

sudo dnf remove ipcalc

ipcalc Package Contents on Fedora 36

/usr/bin/ipcalc
/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/88c3efc6415f0f0b0fa6e520a42caedd8265a6
/usr/share/doc/ipcalc
/usr/share/doc/ipcalc/README.md
/usr/share/licenses/ipcalc
/usr/share/licenses/ipcalc/COPYING
/usr/share/man/man1/ipcalc.1.gz

References

Summary

In this tutorial we learn how to install ipcalc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).