How To Install network-scripts on Fedora 36
Introduction
In this tutorial we learn how to install network-scripts
on Fedora 36.
What is network-scripts
This package contains the legacy scripts for activating & deactivating of most network interfaces. It also provides a legacy version of ’network’ service. The ’network’ service is enabled by default after installation of this package, and if the network-scripts are installed alongside NetworkManager, then the ifup/ifdown commands from network-scripts take precedence over the ones provided by NetworkManager. If user has both network-scripts & NetworkManager installed, and wishes to use ifup/ifdown from NetworkManager primarily, then they has to run command $ update-alternatives –config ifup Please note that running the command above will also disable the ’network’ service.
We can use yum
or dnf
to install network-scripts
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install network-scripts.
Install network-scripts 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 network-scripts
using dnf
by running the following command:
sudo dnf -y install network-scripts
Install network-scripts 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 network-scripts
using yum
by running the following command:
sudo yum -y install network-scripts
How To Uninstall network-scripts on Fedora 36
To uninstall only the network-scripts
package we can use the following command:
sudo dnf remove network-scripts
network-scripts Package Contents on Fedora 36
/etc/rc.d/init.d/network
/etc/sysconfig/network-scripts
/etc/sysconfig/network-scripts/ifcfg-lo
/etc/sysconfig/network-scripts/ifdown
/etc/sysconfig/network-scripts/ifdown-bnep
/etc/sysconfig/network-scripts/ifdown-eth
/etc/sysconfig/network-scripts/ifdown-ippp
/etc/sysconfig/network-scripts/ifdown-ipv6
/etc/sysconfig/network-scripts/ifdown-isdn
/etc/sysconfig/network-scripts/ifdown-post
/etc/sysconfig/network-scripts/ifdown-routes
/etc/sysconfig/network-scripts/ifdown-sit
/etc/sysconfig/network-scripts/ifdown-tunnel
/etc/sysconfig/network-scripts/ifup
/etc/sysconfig/network-scripts/ifup-aliases
/etc/sysconfig/network-scripts/ifup-bnep
/etc/sysconfig/network-scripts/ifup-eth
/etc/sysconfig/network-scripts/ifup-ippp
/etc/sysconfig/network-scripts/ifup-ipv6
/etc/sysconfig/network-scripts/ifup-isdn
/etc/sysconfig/network-scripts/ifup-plip
/etc/sysconfig/network-scripts/ifup-plusb
/etc/sysconfig/network-scripts/ifup-post
/etc/sysconfig/network-scripts/ifup-routes
/etc/sysconfig/network-scripts/ifup-sit
/etc/sysconfig/network-scripts/ifup-tunnel
/etc/sysconfig/network-scripts/ifup-wireless
/etc/sysconfig/network-scripts/init.ipv6-global
/etc/sysconfig/network-scripts/network-functions
/etc/sysconfig/network-scripts/network-functions-ipv6
/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/98373a1b0c55144f2c39de07faaab6dcffcded
/usr/sbin/ifdown
/usr/sbin/ifup
/usr/sbin/usernetctl
/usr/share/doc/network-scripts
/usr/share/doc/network-scripts/examples
/usr/share/doc/network-scripts/examples/ifcfg-bond-802.3ad
/usr/share/doc/network-scripts/examples/ifcfg-bond-activebackup-arpmon
/usr/share/doc/network-scripts/examples/ifcfg-bond-activebackup-miimon
/usr/share/doc/network-scripts/examples/ifcfg-bond-slave
/usr/share/doc/network-scripts/examples/ifcfg-bridge
/usr/share/doc/network-scripts/examples/ifcfg-bridge-port
/usr/share/doc/network-scripts/examples/ifcfg-eth-alias
/usr/share/doc/network-scripts/examples/ifcfg-eth-dhcp
/usr/share/doc/network-scripts/examples/ifcfg-vlan
/usr/share/doc/network-scripts/examples/static-routes-ipv6
/usr/share/doc/network-scripts/sysconfig.txt
/usr/share/man/man8/ifdown.8.gz
/usr/share/man/man8/ifup.8.gz
/usr/share/man/man8/usernetctl.8.gz
References
Summary
In this tutorial we learn how to install network-scripts
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).