How To Install frr on CentOS 8
Introduction
In this tutorial we learn how to install frr
on CentOS 8.
What is frr
FRRouting is free software that manages TCP/IP based routing protocols. It takes a multi-server and multi-threaded approach to resolve the current complexity of the Internet. FRRouting supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, NHRP, PBR, EIGRP and BFD. FRRouting is a fork of Quagga.
We can use yum
or dnf
to install frr
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install frr.
Install frr 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 frr
using dnf
by running the following command:
sudo dnf -y install frr
Install frr 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 frr
using yum
by running the following command:
sudo yum -y install frr
How To Uninstall frr on CentOS 8
To uninstall only the frr
package we can use the following command:
sudo dnf remove frr
frr Package Contents on CentOS 8
/etc/frr
/etc/frr/daemons
/etc/logrotate.d/frr
/etc/pam.d/frr
/run/frr
/usr/bin/mtracebis
/usr/bin/vtysh
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/429e3500e0d4e8586f58c8044c606fe6728085
/usr/lib/.build-id/06
/usr/lib/.build-id/06/bb221ce927d213cbc649ee589f38a71df0a9cc
/usr/lib/.build-id/09
/usr/lib/.build-id/09/d72ad44e90bcbb52287bdabdab6fd30141d7ef
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/30b505855400509101a7ea5c9128073dd69c67
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/04ec6eaa0576a5eedc7a7d41dbae22ce4116c4
/usr/lib/.build-id/10
/usr/lib/.build-id/10/c0566aa9f9a0814d79a4f11e0b34c29c8bd904
/usr/lib/.build-id/12
/usr/lib/.build-id/12/ac21f9752074b22cee7819ae47cdf527ea86e7
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/3664f770f3693ff6a1e2b266f52e2e0d337ecd
/usr/lib/.build-id/28
/usr/lib/.build-id/28/fb98abe1f31fba6909943cc29f34f76c9cfffc
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/e278214d18207f2e2c1054928860f0dc20d662
/usr/lib/.build-id/37
/usr/lib/.build-id/37/78e6bc128a4496e369527a438012a71943ec24
/usr/lib/.build-id/48
/usr/lib/.build-id/48/54768fc8fa11bfc396ee75846b0c07216f479f
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/ee011b2c5154fd5051fae6e897416854dd339c
/usr/lib/.build-id/50
/usr/lib/.build-id/50/a69ae442b9319378bcef9d1f84fac78a897db6
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/53e6b084c319d28540c8b5f8635519d468d43f
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/cf9dcad427910c9cfbb60465b11104c3bc01e2
/usr/lib/.build-id/62
/usr/lib/.build-id/62/015e18c3968c96c5d47b2b802dce3b2fb1452a
/usr/lib/.build-id/64
/usr/lib/.build-id/64/83169f7db9581a63ff3ddc5ee8c1036b7a29d1
/usr/lib/.build-id/71
/usr/lib/.build-id/71/0336f7815bc215255f15d8d16afbcafb4f4d5d
/usr/lib/.build-id/71/8c9e7d71f40e7e734d876ea06722a6f59e774b
/usr/lib/.build-id/72
/usr/lib/.build-id/72/77ef1f505a4ce54ebebcb28162c6a0812df2b3
/usr/lib/.build-id/97
/usr/lib/.build-id/97/4f802b7ca578d7c7e185a0c9627780ce72b538
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/b68ffe90addfc2dfa432b4668eccf81792b6fa
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/550c3877f6973dafeb34191d65dbe4ac78e1a7
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/58319aa7461c562fc2094fa5b399b158446bf4
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/3499b071c6ce436a27a6f13e16898ace5655e3
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/8afe13985dca20c5ec17eb0b4bd477c889ca7e
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/fbb951e9ab35053fb9c397e52ca300595ffd9d
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/ead4db6ad5566672bafe48eec38e4612f7cee4
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/a4cd474e9276124e14c5ac0588a7e953c29050
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/40866a02c288acd446727ca3ad1670d2963164
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/18846f56b48c041fe4aa5b01923ac2da2711ed
/usr/lib/frr
/usr/lib/frr/bfdd
/usr/lib/frr/bgpd
/usr/lib/frr/eigrpd
/usr/lib/frr/fabricd
/usr/lib/frr/frr
/usr/lib/frr/frr-reload
/usr/lib/frr/frr-reload.py
/usr/lib/frr/frrcommon.sh
/usr/lib/frr/frrinit.sh
/usr/lib/frr/generate_support_bundle.py
/usr/lib/frr/isisd
/usr/lib/frr/nhrpd
/usr/lib/frr/ospf6d
/usr/lib/frr/ospfd
/usr/lib/frr/pbrd
/usr/lib/frr/pimd
/usr/lib/frr/ripd
/usr/lib/frr/ripngd
/usr/lib/frr/ssd
/usr/lib/frr/staticd
/usr/lib/frr/vrrpd
/usr/lib/frr/watchfrr
/usr/lib/frr/watchfrr.sh
/usr/lib/frr/zebra
/usr/lib/systemd/system/frr.service
/usr/lib/tmpfiles.d/frr.conf
/usr/lib64/frr
/usr/lib64/frr/libfrr.so.0
/usr/lib64/frr/libfrr.so.0.0.0
/usr/lib64/frr/libfrrcares.so.0
/usr/lib64/frr/libfrrcares.so.0.0.0
/usr/lib64/frr/libfrrsnmp.so.0
/usr/lib64/frr/libfrrsnmp.so.0.0.0
/usr/lib64/frr/modules
/usr/lib64/frr/modules/bgpd_bmp.so
/usr/lib64/frr/modules/bgpd_snmp.so
/usr/lib64/frr/modules/dplane_fpm_nl.so
/usr/lib64/frr/modules/ospf6d_snmp.so
/usr/lib64/frr/modules/ospfd_snmp.so
/usr/lib64/frr/modules/ripd_snmp.so
/usr/lib64/frr/modules/zebra_cumulus_mlag.so
/usr/lib64/frr/modules/zebra_fpm.so
/usr/lib64/frr/modules/zebra_irdp.so
/usr/lib64/frr/modules/zebra_snmp.so
/usr/share/doc/frr
/usr/share/doc/frr/bgpd.conf.sample
/usr/share/doc/frr/bgpd.conf.sample2
/usr/share/doc/frr/isisd.conf.sample
/usr/share/doc/frr/mpls
/usr/share/doc/frr/mpls/ChangeLog.opaque.txt
/usr/share/doc/frr/mpls/cli_summary.txt
/usr/share/doc/frr/mpls/opaque_lsa.txt
/usr/share/doc/frr/mpls/ospfd.conf
/usr/share/doc/frr/ospf6d.conf.sample
/usr/share/doc/frr/ospfd.conf.sample
/usr/share/doc/frr/pimd.conf.sample
/usr/share/doc/frr/ripd.conf.sample
/usr/share/doc/frr/ripngd.conf.sample
/usr/share/doc/frr/zebra.conf.sample
/usr/share/info/frr.info.gz
/usr/share/licenses/frr
/usr/share/licenses/frr/COPYING
/usr/share/man/man1/frr.1.gz
/usr/share/man/man1/vtysh.1.gz
/usr/share/man/man8/frr-bfdd.8.gz
/usr/share/man/man8/frr-bgpd.8.gz
/usr/share/man/man8/frr-eigrpd.8.gz
/usr/share/man/man8/frr-isisd.8.gz
/usr/share/man/man8/frr-nhrpd.8.gz
/usr/share/man/man8/frr-ospf6d.8.gz
/usr/share/man/man8/frr-ospfd.8.gz
/usr/share/man/man8/frr-pbrd.8.gz
/usr/share/man/man8/frr-pimd.8.gz
/usr/share/man/man8/frr-ripd.8.gz
/usr/share/man/man8/frr-ripngd.8.gz
/usr/share/man/man8/frr-staticd.8.gz
/usr/share/man/man8/frr-vrrpd.8.gz
/usr/share/man/man8/frr-watchfrr.8.gz
/usr/share/man/man8/frr-zebra.8.gz
/usr/share/man/man8/mtracebis.8.gz
/usr/share/yang
/usr/share/yang/frr-bfdd.yang
/usr/share/yang/frr-eigrpd.yang
/usr/share/yang/frr-filter.yang
/usr/share/yang/frr-igmp.yang
/usr/share/yang/frr-interface.yang
/usr/share/yang/frr-isisd.yang
/usr/share/yang/frr-module-translator.yang
/usr/share/yang/frr-nexthop.yang
/usr/share/yang/frr-pim-rp.yang
/usr/share/yang/frr-pim.yang
/usr/share/yang/frr-ripd.yang
/usr/share/yang/frr-ripngd.yang
/usr/share/yang/frr-route-map.yang
/usr/share/yang/frr-route-types.yang
/usr/share/yang/frr-routing.yang
/usr/share/yang/frr-staticd.yang
/usr/share/yang/frr-test-module.yang
/usr/share/yang/frr-vrf.yang
/usr/share/yang/frr-vrrpd.yang
/usr/share/yang/frr-zebra.yang
/usr/share/yang/ietf-interfaces.yang
/usr/share/yang/ietf-routing-types.yang
/var/log/frr
References
Summary
In this tutorial we learn how to install frr
on CentOS 8 using yum and dnf.