How To Install systemd-networkd.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install systemd-networkd.x86_64 on Amazon Linux 2.
What is systemd-networkd.x86_64
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 to install systemd-networkd.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install systemd-networkd.x86_64.
Install systemd-networkd.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install systemd-networkd.x86_64 using yum by running the following command:
sudo yum -y install systemd-networkd.x86_64
How To Uninstall systemd-networkd.x86_64 on Amazon Linux 2
To uninstall only the systemd-networkd.x86_64 package we can use the following command:
sudo yum remove systemd-networkd.x86_64
systemd-networkd.x86_64 Package Contents on Amazon Linux 2
/etc/dbus-1/system.d/org.freedesktop.network1.conf
/usr/bin/networkctl
/usr/lib/systemd/network
/usr/lib/systemd/system/dbus-org.freedesktop.network1.service
/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/lib/udev/rules.d/80-net-setup-link.rules
/usr/share/dbus-1/system-services/org.freedesktop.network1.service
/usr/share/man/man5/systemd.link.5.gz
/usr/share/man/man5/systemd.netdev.5.gz
/usr/share/man/man5/systemd.network.5.gz
/usr/share/man/man8/systemd-journal-gatewayd.8.gz
/usr/share/man/man8/systemd-journal-gatewayd.service.8.gz
/usr/share/man/man8/systemd-journal-gatewayd.socket.8.gz
/usr/share/man/man8/systemd-journal-remote.8.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
References
Summary
In this tutorial we learn how to install systemd-networkd.x86_64 on Amazon Linux 2 using yum.