How To Install net-tools on Fedora 36
Introduction
In this tutorial we learn how to install net-tools
on Fedora 36.
What is net-tools
The net-tools package contains basic networking tools, including ifconfig, netstat, route, and others. Most of them are obsolete. For replacement check iproute package.
We can use yum
or dnf
to install net-tools
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install net-tools.
Install net-tools on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install net-tools
using dnf
by running the following command:
sudo dnf -y install net-tools
Install net-tools on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install net-tools
using yum
by running the following command:
sudo yum -y install net-tools
How To Uninstall net-tools on Fedora 36
To uninstall only the net-tools
package we can use the following command:
sudo dnf remove net-tools
net-tools Package Contents on Fedora 36
/usr/bin/netstat
/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/f26fb6335e0b0fff3193977fad8e6af8aed696
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/fbd90b8d39be23c1aeb0c2faf1e692a2b857d9
/usr/lib/.build-id/87
/usr/lib/.build-id/87/7522add497c27390077f3226e10893157e476f
/usr/lib/.build-id/88
/usr/lib/.build-id/88/d125548d8e6bc7cccef4d64c0b5154defc3a91
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/63fd1154580424696ac1998a3a3290e66e135e
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/49afe29ad9d9093fc676c0c425209c52898774
/usr/lib/.build-id/a2/5225321dd7d9d1ea8de5e68f5bd1f6896361f3
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/b65ec1464b1739dfcf6f8596e5800e6f7c92f8
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/82f8d71df851f7f32e56ff29bc966454d2c80a
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/94dd666fd0694c6cd57eea3583c2cab4fb44d2
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/761b6da8eb570cc03d2bb5636ebeb4734418a2
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/afb69acfa771b49e28718c70fb07a197169860
/usr/lib/systemd/system/arp-ethers.service
/usr/sbin/arp
/usr/sbin/ether-wake
/usr/sbin/ifconfig
/usr/sbin/ipmaddr
/usr/sbin/iptunnel
/usr/sbin/mii-diag
/usr/sbin/mii-tool
/usr/sbin/nameif
/usr/sbin/plipconfig
/usr/sbin/route
/usr/sbin/slattach
/usr/share/licenses/net-tools
/usr/share/licenses/net-tools/COPYING
/usr/share/locale/cs/LC_MESSAGES/net-tools.mo
/usr/share/locale/de/LC_MESSAGES/net-tools.mo
/usr/share/locale/et_EE/LC_MESSAGES/net-tools.mo
/usr/share/locale/fr/LC_MESSAGES/net-tools.mo
/usr/share/locale/pt_BR/LC_MESSAGES/net-tools.mo
/usr/share/man/de/man5/ethers.5.gz
/usr/share/man/de/man8/arp.8.gz
/usr/share/man/de/man8/ifconfig.8.gz
/usr/share/man/de/man8/netstat.8.gz
/usr/share/man/de/man8/plipconfig.8.gz
/usr/share/man/de/man8/route.8.gz
/usr/share/man/de/man8/slattach.8.gz
/usr/share/man/fr/man5/ethers.5.gz
/usr/share/man/fr/man8/arp.8.gz
/usr/share/man/fr/man8/ifconfig.8.gz
/usr/share/man/fr/man8/netstat.8.gz
/usr/share/man/fr/man8/plipconfig.8.gz
/usr/share/man/fr/man8/route.8.gz
/usr/share/man/fr/man8/slattach.8.gz
/usr/share/man/man5/ethers.5.gz
/usr/share/man/man8/arp.8.gz
/usr/share/man/man8/ether-wake.8.gz
/usr/share/man/man8/ifconfig.8.gz
/usr/share/man/man8/ipmaddr.8.gz
/usr/share/man/man8/iptunnel.8.gz
/usr/share/man/man8/mii-diag.8.gz
/usr/share/man/man8/mii-tool.8.gz
/usr/share/man/man8/nameif.8.gz
/usr/share/man/man8/netstat.8.gz
/usr/share/man/man8/plipconfig.8.gz
/usr/share/man/man8/route.8.gz
/usr/share/man/man8/slattach.8.gz
/usr/share/man/pt/man8/arp.8.gz
/usr/share/man/pt/man8/ifconfig.8.gz
/usr/share/man/pt/man8/netstat.8.gz
/usr/share/man/pt/man8/route.8.gz
References
Summary
In this tutorial we learn how to install net-tools
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).