How To Install bird on CentOS 8

bird is BIRD Internet Routing Daemon

Introduction

In this tutorial we learn how to install bird on CentOS 8.

What is bird

BIRD is a dynamic IP routing daemon supporting both, IPv4 and IPv6, Border Gateway Protocol (BGPv4), Routing Information Protocol (RIPv2, RIPng), Open Shortest Path First protocol (OSPFv2, OSPFv3), Babel Routing Protocol (Babel), Bidirectional Forwarding Detection (BFD), IPv6 router advertisements, static routes, inter-table protocol, command-line interface allowing on-line control and inspection of the status of the daemon, soft reconfiguration as well as a powerful language for route filtering.

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

Install bird on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install bird

Install bird on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install bird

How To Uninstall bird on CentOS 8

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

sudo dnf remove bird

bird Package Contents on CentOS 8

/etc/bird.conf
/run/bird
/usr/lib/.build-id
/usr/lib/.build-id/69
/usr/lib/.build-id/69/aa685a0016613a47a5b01eb1bb8fab3b07ff2f
/usr/lib/.build-id/86
/usr/lib/.build-id/86/7e5837a2d8d370b41ad07853f3bf3d3bf01c79
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/eb496d7077fb75011c82694fc938cc8f327714
/usr/lib/systemd/system/bird.service
/usr/lib/tmpfiles.d/bird.conf
/usr/sbin/bird
/usr/sbin/birdc
/usr/sbin/birdcl
/usr/share/doc/bird
/usr/share/doc/bird/NEWS
/usr/share/doc/bird/README
/var/lib/bird

References

Summary

In this tutorial we learn how to install bird on CentOS 8 using yum and dnf.