How To Install systemd-networkd on Fedora 36
Introduction
In this tutorial we learn how to install systemd-networkd
on Fedora 36.
What is systemd-networkd
systemd-networkd is a system service that manages networks. It detects and configures network devices as they appear, as well as creating virtual network devices.
We can use yum
or dnf
to install systemd-networkd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install systemd-networkd.
Install systemd-networkd 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 systemd-networkd
using dnf
by running the following command:
sudo dnf -y install systemd-networkd
Install systemd-networkd 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 systemd-networkd
using yum
by running the following command:
sudo yum -y install systemd-networkd
How To Uninstall systemd-networkd on Fedora 36
To uninstall only the systemd-networkd
package we can use the following command:
sudo dnf remove systemd-networkd
systemd-networkd Package Contents on Fedora 36
/etc/systemd/networkd.conf
/usr/bin/networkctl
/usr/lib/.build-id
/usr/lib/.build-id/48/6dfee53c8ccf870366b784e417c86fd785a482
/usr/lib/.build-id/a4/0220f6fc825577bf6bad7f4b66d37d86488164
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/e8c1b27fe44845b612bcc0f22511f1450434d2
/usr/lib/systemd/network/80-6rd-tunnel.network
/usr/lib/systemd/network/80-container-host0.network
/usr/lib/systemd/network/80-container-ve.network
/usr/lib/systemd/network/80-container-vz.network
/usr/lib/systemd/network/80-vm-vt.network
/usr/lib/systemd/network/80-wifi-adhoc.network
/usr/lib/systemd/network/80-wifi-ap.network.example
/usr/lib/systemd/network/80-wifi-station.network.example
/usr/lib/systemd/system/systemd-networkd-wait-online.service
/usr/lib/systemd/system/systemd-networkd.service
/usr/lib/systemd/system/systemd-networkd.socket
/usr/lib/systemd/systemd-networkd
/usr/lib/systemd/systemd-networkd-wait-online
/usr/share/bash-completion/completions/networkctl
/usr/share/dbus-1/interfaces/org.freedesktop.network1.DHCPServer.xml
/usr/share/dbus-1/interfaces/org.freedesktop.network1.Link.xml
/usr/share/dbus-1/interfaces/org.freedesktop.network1.Manager.xml
/usr/share/dbus-1/interfaces/org.freedesktop.network1.Network.xml
/usr/share/dbus-1/system-services/org.freedesktop.network1.service
/usr/share/dbus-1/system.d/org.freedesktop.network1.conf
/usr/share/man/man1/networkctl.1.gz
/usr/share/man/man5/networkd.conf.5.gz
/usr/share/man/man5/networkd.conf.d.5.gz
/usr/share/man/man5/org.freedesktop.network1.5.gz
/usr/share/man/man8/systemd-networkd-wait-online.8.gz
/usr/share/man/man8/systemd-networkd-wait-online.service.8.gz
/usr/share/man/man8/systemd-networkd.8.gz
/usr/share/man/man8/systemd-networkd.service.8.gz
/usr/share/polkit-1/actions/org.freedesktop.network1.policy
/usr/share/polkit-1/rules.d/systemd-networkd.rules
/usr/share/zsh/site-functions/_networkctl
References
Summary
In this tutorial we learn how to install systemd-networkd
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).