How To Install libbgpdump on CentOS 7

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

Introduction

In this tutorial we learn how to install libbgpdump on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libbgpdump.

Install libbgpdump on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libbgpdump using yum by running the following command:

sudo yum -y install libbgpdump

Install libbgpdump 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.

sudo dnf makecache

After updating yum database, We can install libbgpdump using dnf by running the following command:

sudo dnf -y install libbgpdump

How To Uninstall libbgpdump on CentOS 7

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

sudo dnf remove libbgpdump

References

Summary

In this tutorial we learn how to install libbgpdump on CentOS 7 using yum and dnf.