How To Install openbgpd on Rocky Linux 8

In this tutorial we learn how to install openbgpd on Rocky Linux 8. openbgpd is OpenBGPD Routing Daemon

Introduction

In this tutorial we learn how to install openbgpd on Rocky Linux 8.

What is openbgpd

OpenBGPD is a free implementation of the Border Gateway Protocol (BGP), Version 4. It allows ordinary machines to be used as routers exchanging routes with other systems speaking the BGP protocol. This is the portable version and it does not have the means to influence kernel routing tables. It is only suitable for route servers/collectors.

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

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

sudo dnf -y install openbgpd

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

sudo yum -y install openbgpd

How To Uninstall openbgpd on Rocky Linux 8

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

sudo dnf remove openbgpd

openbgpd Package Contents on Rocky Linux 8

/etc/bgpd
/etc/bgpd.conf
/run/bgpd
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/4bc94f374a68253a30a4bb2bddca30bd3892ff
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/fa1b9bad8d5e9bf8181f8ddb5a13a7fcfa1293
/usr/lib/systemd/system/bgpd.service
/usr/lib/tmpfiles.d/openbgpd.conf
/usr/sbin/bgpctl
/usr/sbin/bgpd
/usr/share/doc/openbgpd
/usr/share/doc/openbgpd/AUTHORS
/usr/share/doc/openbgpd/README.md
/usr/share/licenses/openbgpd
/usr/share/licenses/openbgpd/LICENSE
/usr/share/man/man5/bgpd.conf.5.gz
/usr/share/man/man8/bgpctl.8.gz
/usr/share/man/man8/bgpd.8.gz
/var/empty/bgpd

References

Summary

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