How To Install iproute on Fedora 34
Introduction
In this tutorial we learn how to install iproute
on Fedora 34.
What is iproute
The iproute package contains networking utilities (ip and rtmon, for example) which are designed to use the advanced networking capabilities of the Linux kernel.
We can use yum
or dnf
to install iproute
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install iproute.
Install iproute 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 iproute
using dnf
by running the following command:
sudo dnf -y install iproute
Install iproute 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 iproute
using yum
by running the following command:
sudo yum -y install iproute
How To Uninstall iproute on Fedora 34
To uninstall only the iproute
package we can use the following command:
sudo dnf remove iproute
iproute Package Contents on Fedora 34
/etc/iproute2
/etc/iproute2/bpf_pinning
/etc/iproute2/ematch_map
/etc/iproute2/group
/etc/iproute2/nl_protos
/etc/iproute2/rt_dsfield
/etc/iproute2/rt_protos
/etc/iproute2/rt_realms
/etc/iproute2/rt_scopes
/etc/iproute2/rt_tables
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/4df8a63b4a6db5f3faeb20ee613145187fbc35
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/229be36592f438945b5b66c25119c73c685fa0
/usr/lib/.build-id/49
/usr/lib/.build-id/49/d0dbff800b7e99f01db57ff22045ee5757a44b
/usr/lib/.build-id/53
/usr/lib/.build-id/53/3b8d74519071381ee81362a8eba25196f9c980
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/548281540cd8d784ec6f1f947d51f7e09aa0bf
/usr/lib/.build-id/88
/usr/lib/.build-id/88/fd9a674ae7edf3233be796242eb6579f4989e1
/usr/lib/.build-id/93
/usr/lib/.build-id/93/1ac55a8901336bb82a2b5b8c2000dbfbd2c486
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/0a49dd9014c47ccc19be439ef32db10da35621
/usr/lib/.build-id/bc/f3bc9513e3947aee65e130a943c54d98b0be34
/usr/lib/.build-id/de
/usr/lib/.build-id/de/61ce22fc355bf1c7f1c1523aa3316a248f74bd
/usr/lib/.build-id/de/73305a1848c442052a48984e94a4ce98b2fca3
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/90c7893f71a8adc2b9a575d50afda40355ccfc
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/9cac5294fa6ab2b15e5da49127625a8bf5c6d6
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/41b520d8fc0924642a7d0ab405be26de3d163b
/usr/sbin/arpd
/usr/sbin/bridge
/usr/sbin/ctstat
/usr/sbin/devlink
/usr/sbin/genl
/usr/sbin/ifcfg
/usr/sbin/ifstat
/usr/sbin/ip
/usr/sbin/lnstat
/usr/sbin/nstat
/usr/sbin/rdma
/usr/sbin/routef
/usr/sbin/routel
/usr/sbin/rtacct
/usr/sbin/rtmon
/usr/sbin/rtpr
/usr/sbin/rtstat
/usr/sbin/ss
/usr/sbin/tipc
/usr/share/bash-completion/completions/devlink
/usr/share/doc/iproute
/usr/share/doc/iproute/README
/usr/share/licenses/iproute
/usr/share/licenses/iproute/COPYING
/usr/share/man/man8/arpd.8.gz
/usr/share/man/man8/bridge.8.gz
/usr/share/man/man8/ctstat.8.gz
/usr/share/man/man8/devlink-dev.8.gz
/usr/share/man/man8/devlink-dpipe.8.gz
/usr/share/man/man8/devlink-health.8.gz
/usr/share/man/man8/devlink-monitor.8.gz
/usr/share/man/man8/devlink-port.8.gz
/usr/share/man/man8/devlink-region.8.gz
/usr/share/man/man8/devlink-resource.8.gz
/usr/share/man/man8/devlink-sb.8.gz
/usr/share/man/man8/devlink-trap.8.gz
/usr/share/man/man8/devlink.8.gz
/usr/share/man/man8/genl.8.gz
/usr/share/man/man8/ifcfg.8.gz
/usr/share/man/man8/ifstat.8.gz
/usr/share/man/man8/ip-address.8.gz
/usr/share/man/man8/ip-addrlabel.8.gz
/usr/share/man/man8/ip-fou.8.gz
/usr/share/man/man8/ip-gue.8.gz
/usr/share/man/man8/ip-l2tp.8.gz
/usr/share/man/man8/ip-link.8.gz
/usr/share/man/man8/ip-macsec.8.gz
/usr/share/man/man8/ip-maddress.8.gz
/usr/share/man/man8/ip-monitor.8.gz
/usr/share/man/man8/ip-mptcp.8.gz
/usr/share/man/man8/ip-mroute.8.gz
/usr/share/man/man8/ip-neighbour.8.gz
/usr/share/man/man8/ip-netconf.8.gz
/usr/share/man/man8/ip-netns.8.gz
/usr/share/man/man8/ip-nexthop.8.gz
/usr/share/man/man8/ip-ntable.8.gz
/usr/share/man/man8/ip-route.8.gz
/usr/share/man/man8/ip-rule.8.gz
/usr/share/man/man8/ip-sr.8.gz
/usr/share/man/man8/ip-tcp_metrics.8.gz
/usr/share/man/man8/ip-token.8.gz
/usr/share/man/man8/ip-tunnel.8.gz
/usr/share/man/man8/ip-vrf.8.gz
/usr/share/man/man8/ip-xfrm.8.gz
/usr/share/man/man8/ip.8.gz
/usr/share/man/man8/lnstat.8.gz
/usr/share/man/man8/nstat.8.gz
/usr/share/man/man8/rdma-dev.8.gz
/usr/share/man/man8/rdma-link.8.gz
/usr/share/man/man8/rdma-resource.8.gz
/usr/share/man/man8/rdma-statistic.8.gz
/usr/share/man/man8/rdma-system.8.gz
/usr/share/man/man8/rdma.8.gz
/usr/share/man/man8/routef.8.gz
/usr/share/man/man8/routel.8.gz
/usr/share/man/man8/rtacct.8.gz
/usr/share/man/man8/rtmon.8.gz
/usr/share/man/man8/rtpr.8.gz
/usr/share/man/man8/rtstat.8.gz
/usr/share/man/man8/ss.8.gz
/usr/share/man/man8/tipc-bearer.8.gz
/usr/share/man/man8/tipc-link.8.gz
/usr/share/man/man8/tipc-media.8.gz
/usr/share/man/man8/tipc-nametable.8.gz
/usr/share/man/man8/tipc-node.8.gz
/usr/share/man/man8/tipc-peer.8.gz
/usr/share/man/man8/tipc-socket.8.gz
/usr/share/man/man8/tipc.8.gz
References
Summary
In this tutorial we learn how to install iproute
on Fedora 34 using yum and dnf.