How To Install perl-libnet on AlmaLinux 8

In this tutorial we learn how to install perl-libnet in AlmaLinux 8. perl-libnet is Perl clients for various network protocols

Introduction

In this tutorial we learn how to install perl-libnet on AlmaLinux 8.

What is perl-libnet

This is a collection of Perl modules which provides a simple and consistent programming interface (API) to the client side of various protocols used in the internet community.

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

Install perl-libnet 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 perl-libnet using dnf by running the following command:

sudo dnf -y install perl-libnet

Install perl-libnet 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 perl-libnet using yum by running the following command:

sudo yum -y install perl-libnet

How To Uninstall perl-libnet on AlmaLinux 8

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

sudo dnf remove perl-libnet

References

Summary

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