How To Install libbgpdump on Rocky Linux 8

In this tutorial we learn how to install libbgpdump on Rocky Linux 8. libbgpdump is C library for analyzing BGP related dump files

Introduction

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

What is libbgpdump

Libbgpdump is a C library designed to help with analyzing BGP related dump files in Zebra/Quagga or MRT RIB (Multi-Threaded Routing Toolkit Routing Information Base) format, e.g. produced by Zebra/Quagga, BIRD, OpenBGPD or PyRT.

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

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

sudo dnf -y install libbgpdump

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

sudo yum -y install libbgpdump

How To Uninstall libbgpdump on Rocky Linux 8

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

sudo dnf remove libbgpdump

libbgpdump Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/c6845b2fca3abd1f627197132af421d0803a00
/usr/lib64/libbgpdump.so.0
/usr/lib64/libbgpdump.so.0.0.0
/usr/share/doc/libbgpdump
/usr/share/doc/libbgpdump/ChangeLog
/usr/share/doc/libbgpdump/README
/usr/share/licenses/libbgpdump
/usr/share/licenses/libbgpdump/COPYING

References

Summary

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