How To Install frr on Fedora 34
Introduction
In this tutorial we learn how to install frr
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install frr.
Install frr on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34
To uninstall only the frr
package we can use the following command:
sudo dnf remove frr
frr Package Contents on Fedora 34
/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/06
/usr/lib/.build-id/06/ff92f945ae23899f76ba8c882ff3899425b344
/usr/lib/.build-id/09
/usr/lib/.build-id/09/22c2e9d05fc9e34bc906d8e454a18ef7a99a25
/usr/lib/.build-id/09/86e778dcef8615b218bf1c13d53a73f0d98291
/usr/lib/.build-id/17
/usr/lib/.build-id/17/805c5d968d92fac07197fd4c605b3f71ea7626
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/04d92020b0616fce67542f99e515f5f7641bf5
/usr/lib/.build-id/26
/usr/lib/.build-id/26/7e2e47ae0265aa92300a4e9de271d58aa6c5c0
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/8b9f36d3234a0f3ca51fe75a731423b2a5df0b
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/ac3f3581a81bd6f91d5fdc75bce330cbd9783d
/usr/lib/.build-id/34
/usr/lib/.build-id/34/b090dd484ad763667a022a3a30849bb593b72f
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/ba0f75c09274c743ac726e482720b75075a94c
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/cea5de2c5ae92ba7e00b689c2dc97c034b1f9d
/usr/lib/.build-id/50
/usr/lib/.build-id/50/96d782b72460a047d73ff34ec3070c1b4ac8ff
/usr/lib/.build-id/51
/usr/lib/.build-id/51/33fdf2bb559ff243dc0e3ebdbd15df2811e9e0
/usr/lib/.build-id/51/5fa92822d8e7ca29b6550f04a20bd27d8a0c6c
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/3bb18e848af427d85c871d99f4c981d5cc3e9f
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/5a0002f39e55e4e4b110550e940b02e2fd9dbd
/usr/lib/.build-id/65
/usr/lib/.build-id/65/0765507475247a473c4bff206f16e47b95f80e
/usr/lib/.build-id/69
/usr/lib/.build-id/69/ab7ee346595791f7a0826ec6cfe813dc93c3a8
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/95daca6e1f2b47ad4d1f66ddf9d6edb1c64f13
/usr/lib/.build-id/73
/usr/lib/.build-id/73/284033ed4462b499337c003d759902ed57318d
/usr/lib/.build-id/75
/usr/lib/.build-id/75/dcf0ace68b55afd1887518ce0d1ac9fab773cc
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/96afbe8a63ab6c028eb8b9fea9f6466504f10c
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/04514df489d92ed8bba54fef990963f175eb2e
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/e8cd35d4d5c44dc96635f61295d450dc3ba819
/usr/lib/.build-id/af
/usr/lib/.build-id/af/0ae059aa4001d370757c4a0bf07b2936c8f2f4
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/ec8f1b07e3b97c58070aa215cea58a64c8fcbe
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/d1a40e9d03781c8c336c8fc88964c9ec6e0ae1
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/b70cd55f8be9dbea8ae06278eddb3dd42d2e96
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/b6f33f9b3de864082c2d11d3b26daf52243ed6
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/f0e9bfd58d4446fc14179256eef9804b8a6109
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/f26d9203fe8e5ebe05c2bc45af842313c38025
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/7b61f131cc6d2d5ab4a4222cd32daa9bb2303b
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/094cec0fe3ffbf44ed79b5bcaadba7307d80a8
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/cfe69b865bcc5bc25f05580701e96c421f7cd3
/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/libfrrgrpc_pb.so.0
/usr/lib64/frr/libfrrgrpc_pb.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/grpc.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/libexec/frr
/usr/libexec/frr/bfdd
/usr/libexec/frr/bgpd
/usr/libexec/frr/eigrpd
/usr/libexec/frr/fabricd
/usr/libexec/frr/frr
/usr/libexec/frr/frr-reload
/usr/libexec/frr/frr-reload.py
/usr/libexec/frr/frrcommon.sh
/usr/libexec/frr/frrinit.sh
/usr/libexec/frr/generate_support_bundle.py
/usr/libexec/frr/isisd
/usr/libexec/frr/nhrpd
/usr/libexec/frr/ospf6d
/usr/libexec/frr/ospfd
/usr/libexec/frr/pbrd
/usr/libexec/frr/pimd
/usr/libexec/frr/ripd
/usr/libexec/frr/ripngd
/usr/libexec/frr/ssd
/usr/libexec/frr/staticd
/usr/libexec/frr/vrrpd
/usr/libexec/frr/watchfrr
/usr/libexec/frr/watchfrr.sh
/usr/libexec/frr/zebra
/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
/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/0b
/usr/lib/.build-id/0b/c1da462ce158ff4cb4621d65d4b7df40b62cfd
/usr/lib/.build-id/11
/usr/lib/.build-id/11/09e3fd0d0a6264127e62f4f16eecd4a8490f88
/usr/lib/.build-id/12
/usr/lib/.build-id/12/dfbfe0f604e8eec623d3933ae33dcc0d23110c
/usr/lib/.build-id/17
/usr/lib/.build-id/17/dac129848abf85b261bc1cd1c5e4f312455a67
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/33949031131b4ed6d9e7ddcfab812d61d83eed
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/66cf70c74632804d482b9f17728eb5d310b4fe
/usr/lib/.build-id/46
/usr/lib/.build-id/46/4244f873f0bc6a2818c61259f70c17196c4230
/usr/lib/.build-id/51
/usr/lib/.build-id/51/166d7bfd1f64ceb27d07ac754fa0762bdda169
/usr/lib/.build-id/56
/usr/lib/.build-id/56/c8ee31fcb1f8947cdf12d9e313126e33aecf59
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/a81d548fd74d076a3b74c58632531f2217f52f
/usr/lib/.build-id/72
/usr/lib/.build-id/72/734bb7996e6b41c22f74c41e265e97bae2967a
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/54e1cd0144e8636852a496778becce3e04ba44
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/a1d735039da19cf8702bb2b931ce34c154bf89
/usr/lib/.build-id/96
/usr/lib/.build-id/96/85b22db2a2bfef3dded156fbb158c181dd515d
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/8361c5cbaf982c04f6de74d7f548ee009c0d77
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/1b406a7edbc7759a16d7ac9ac8f49079698d2e
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/424d890987204da08667b68722038e39f96bb0
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/acb987d3ca44b1916bca7a5a05a2279f1de682
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/25c1b1082e4fc25fc5bb16bc3fa0eb8ffbc8de
/usr/lib/.build-id/bc/95fb7c8e978f22b82e187907277e026c8b026b
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/c531e62b4888ba1d0aaa3d6029762e1bc78f1e
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/454d1b8dd71d81e82ceaad8437525d46ba9fc5
/usr/lib/.build-id/c1/865d6ebf27d9b26c4fe3405aadc8124842a61b
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/7b9cb028e210504cd1be0eca8dd486a717adb0
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/12d907b4f69419d67f0a57df7d8618df3ac196
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/d4bd95ca9258757210c727851526436a41d7eb
/usr/lib/.build-id/de
/usr/lib/.build-id/de/e57532b61ecad00010a3e97f636d84d0458c25
/usr/lib/.build-id/df
/usr/lib/.build-id/df/190cf8477933fdfc6cd2006d540c9424a902d4
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/af0b181e4062646da5341c7fd7591c41b0c63e
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/47df81b18d199b1b41b961fd21b94185a273b4
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/d7f18fd305d0e85184df9bbc37a4c862fc481b
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/3dbdedb66423a837fb487209bf34d0002fc970
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/912f3cf8bda1a5109c1d53bde469d4d1d5ffd5
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/34740cf84b1a4f410c0b8d47d83db6c3775fe8
/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/libfrrgrpc_pb.so.0
/usr/lib64/frr/libfrrgrpc_pb.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/grpc.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/libexec/frr
/usr/libexec/frr/bfdd
/usr/libexec/frr/bgpd
/usr/libexec/frr/eigrpd
/usr/libexec/frr/fabricd
/usr/libexec/frr/frr
/usr/libexec/frr/frr-reload
/usr/libexec/frr/frr-reload.py
/usr/libexec/frr/frrcommon.sh
/usr/libexec/frr/frrinit.sh
/usr/libexec/frr/generate_support_bundle.py
/usr/libexec/frr/isisd
/usr/libexec/frr/nhrpd
/usr/libexec/frr/ospf6d
/usr/libexec/frr/ospfd
/usr/libexec/frr/pbrd
/usr/libexec/frr/pimd
/usr/libexec/frr/ripd
/usr/libexec/frr/ripngd
/usr/libexec/frr/ssd
/usr/libexec/frr/staticd
/usr/libexec/frr/vrrpd
/usr/libexec/frr/watchfrr
/usr/libexec/frr/watchfrr.sh
/usr/libexec/frr/zebra
/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 Fedora 34 using yum and dnf.