How To Install perl-Net-BGP on CentOS 7
Introduction
In this tutorial we learn how to install perl-Net-BGP
on CentOS 7.
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 CentOS 7. 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 CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-Net-BGP
using yum
by running the following command:
Install perl-Net-BGP on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install perl-Net-BGP
using dnf
by running the following command:
How To Uninstall perl-Net-BGP on CentOS 7
To uninstall only the perl-Net-BGP
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-Net-BGP
on CentOS 7 using yum
and dnf
.