How To Install perl-libnetcfg on Rocky Linux 8

In this tutorial we learn how to install perl-libnetcfg on Rocky Linux 8. perl-libnetcfg is Configure libnet

Introduction

In this tutorial we learn how to install perl-libnetcfg on Rocky Linux 8.

What is perl-libnetcfg

The libnetcfg utility can be used to configure the libnet.

We can use yum or dnf to install perl-libnetcfg on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-libnetcfg.

Install perl-libnetcfg on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-libnetcfg

Install perl-libnetcfg on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-libnetcfg using yum by running the following command:

sudo yum -y install perl-libnetcfg

How To Uninstall perl-libnetcfg on Rocky Linux 8

To uninstall only the perl-libnetcfg package we can use the following command:

sudo dnf remove perl-libnetcfg

perl-libnetcfg Package Contents on Rocky Linux 8

/usr/bin/libnetcfg
/usr/share/man/man1/libnetcfg.1.gz

References

Summary

In this tutorial we learn how to install perl-libnetcfg on Rocky Linux 8 using yum and dnf.