How To Install perl-Net-BGP on AlmaLinux 8
Introduction
In this tutorial we learn how to install perl-Net-BGP
on AlmaLinux 8.
What is perl-Net-BGP
An implementation of the BGP-4 inter-domain routing protocol as Perl module. It encapsulates all of the functionality needed to establish and maintain a BGP peering session and exchange routing update information with the peer. It aims to provide a simple API to the BGP protocol for the purposes of automation, logging, monitoring, testing, and similar tasks using the power and flexibility of Perl. The module does not implement the functionality of a RIB (Routing Information Base) nor does it modify the kernel routing table of the host system. However, such operations could be implemented using the API provided by the module.
We can use yum
or dnf
to install perl-Net-BGP
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Net-BGP.
Install perl-Net-BGP 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-Net-BGP
using dnf
by running the following command:
sudo dnf -y install perl-Net-BGP
Install perl-Net-BGP 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-Net-BGP
using yum
by running the following command:
sudo yum -y install perl-Net-BGP
How To Uninstall perl-Net-BGP on AlmaLinux 8
To uninstall only the perl-Net-BGP
package we can use the following command:
sudo dnf remove perl-Net-BGP
References
Summary
In this tutorial we learn how to install perl-Net-BGP
on AlmaLinux 8 using yum and dnf.