How To Install frr on Rocky Linux 8

In this tutorial we learn how to install frr on Rocky Linux 8. frr is Routing daemon

Introduction

In this tutorial we learn how to install frr on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install frr.

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

sudo dnf -y install frr

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

sudo yum -y install frr

How To Uninstall frr on Rocky Linux 8

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

sudo dnf remove frr

frr Package Contents on Rocky Linux 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/0a
/usr/lib/.build-id/0a/5c3d831cd20a5be4568b208b7be0f05977e9f6
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/c8d2a4c41abd898c34ab4c84f80089aafcb433
/usr/lib/.build-id/10
/usr/lib/.build-id/10/a6adcbbf2aa7d17273ce1ab9771ca1d6b07717
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/f6cb3cc87f6692c582f17abc205c70240496a3
/usr/lib/.build-id/21
/usr/lib/.build-id/21/4dff9a42d62450b8703f268aa5adb75d697857
/usr/lib/.build-id/27
/usr/lib/.build-id/27/0ae220d1f8248da8d82bd1dacbaf7bebf97f5d
/usr/lib/.build-id/31
/usr/lib/.build-id/31/d6d0ecfa5b745fb7861ec5454b23c14252db3c
/usr/lib/.build-id/34
/usr/lib/.build-id/34/6e0215effc2571d978e88219e70a0f4661eeb9
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/db51ce568b483026fb41c870fefd980ef2cecd
/usr/lib/.build-id/43
/usr/lib/.build-id/43/7cf5ecd5afbaaa14f1caae999520269b9cb349
/usr/lib/.build-id/44
/usr/lib/.build-id/44/7193198023e05c222ce72752110c7164417c67
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/76c9eba666fe757c96a51a01558824061905a2
/usr/lib/.build-id/5b/9336f2ead478d9aeaa9e3718a4197b3d998731
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/1427c8c9e85fc0f6e8f2e70d65c724534ca43c
/usr/lib/.build-id/67
/usr/lib/.build-id/67/cc606fcea82a26f0525fba95c5d1363a648f08
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/1104b41b6a7b63fdddcdaaf468904d377466c1
/usr/lib/.build-id/70
/usr/lib/.build-id/70/228a04a73997535d196f807d43646256a4f8ad
/usr/lib/.build-id/71
/usr/lib/.build-id/71/1670433151b84f7dae44638a646cd90887ac13
/usr/lib/.build-id/83
/usr/lib/.build-id/83/4852ced11c689e168eac06f1ad73b99ca224d8
/usr/lib/.build-id/86
/usr/lib/.build-id/86/0e3abc3f98f90fdc01b1201d237eae4797ffd0
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/3051ff092f4c41163219ce4790f62008d2272f
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/f3b817984d803412b165732a8ae6e4e1effaaa
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/3406627629370bcef1ba9cb7219276458c771c
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/8ea182595827b4586ae0e1e33e606de78b2542
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/8211ddec181a9d4e001ec2a3eed2c284852e14
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/43d70c76b776a25a824355bef16d8b5b23e47d
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/64f68d0baecf9984acce619c0a90505ba89dd8
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/936e5187c670dc0a5810be315de811fc76a423
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/29e98be1a00515a80004a7e0a79a5e0439dc83
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/e855e469ef80acaebbe6b6c8bb72c61084c5ed
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/7a58eb67442752ff171351507373a10bbacb76
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/3b0bd871ae74e141954243eab6da6c803780d5
/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 Rocky Linux 8 using yum and dnf.