How To Install systemd-libs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install systemd-libs.x86_64 in Amazon Linux 2. systemd-libs.x86_64 is systemd libraries

Introduction

In this tutorial we learn how to install systemd-libs.x86_64 on Amazon Linux 2.

What is systemd-libs.x86_64

Libraries for systemd and udev, as well as the systemd PAM module.

We can use yum to install systemd-libs.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-libs.x86_64.

Install systemd-libs.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-libs.x86_64 using yum by running the following command:

sudo yum -y install systemd-libs.x86_64

How To Uninstall systemd-libs.x86_64 on Amazon Linux 2

To uninstall only the systemd-libs.x86_64 package we can use the following command:

sudo yum remove systemd-libs.x86_64

systemd-libs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libnss_myhostname.so.2
/usr/lib64/libnss_mymachines.so.2
/usr/lib64/libsystemd-daemon.so.0
/usr/lib64/libsystemd-daemon.so.0.0.12
/usr/lib64/libsystemd-id128.so.0
/usr/lib64/libsystemd-id128.so.0.0.28
/usr/lib64/libsystemd-journal.so.0
/usr/lib64/libsystemd-journal.so.0.11.5
/usr/lib64/libsystemd-login.so.0
/usr/lib64/libsystemd-login.so.0.9.3
/usr/lib64/libsystemd.so.0
/usr/lib64/libsystemd.so.0.6.0
/usr/lib64/libudev.so.1
/usr/lib64/libudev.so.1.6.2
/usr/lib64/security/pam_systemd.so

References

Summary

In this tutorial we learn how to install systemd-libs.x86_64 on Amazon Linux 2 using yum.