ifconfig command not found - Fedora

Page content

How to Install ifconfig Command on Fedora

Recently, ifconfig command has been deprecated in many Linux distributions, including Fedora. This command was commonly used to display and configure network interfaces. However, it has been replaced by the ip command in most modern Linux distributions.

Why ifconfig is no longer available

The ifconfig command has been replaced by the ip command due to various reasons, including the fact that the ip command is more versatile, provides more features, and is actively maintained by developers.

Installing ifconfig on Fedora

If you still prefer to use the ifconfig command on your Fedora system, you can install it by following these steps:

  1. Open a terminal window.
  2. Install the net-tools package by running the following command:
    sudo dnf install net-tools
    

Once the installation is complete, you can use the ifconfig command just like before on your Fedora system.

Conclusion

While ifconfig was a widely used command for networking tasks, it has been replaced by the ip command in modern Linux distributions like Fedora. However, if you still prefer to use ifconfig, you can easily install it on Fedora by installing the net-tools package. Remember to familiarize yourself with the ip command as it is the recommended tool for networking configurations in Fedora and other Linux distributions.