How To Install systemd-libs on CentOS 8

systemd-libs is systemd libraries systemd libraries systemd libraries

Introduction

In this tutorial we learn how to install systemd-libs on CentOS 8.

What is systemd-libs

Libraries for systemd and udev. systemd-libs 239 45.el8_4.2 i686 1.1 M systemd-239-45.el8_4.2.src.rpm baseos systemd libraries http LGPLv2+ and MIT Libraries for systemd and udev. systemd-libs 239 45.el8_4.2 x86_64 1.1 M systemd-239-45.el8_4.2.src.rpm baseos systemd libraries http LGPLv2+ and MIT Libraries for systemd and udev.

We can use yum or dnf to install systemd-libs on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install systemd-libs.

Install systemd-libs on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install systemd-libs using dnf by running the following command:

sudo dnf -y install systemd-libs

Install systemd-libs on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install systemd-libs using yum by running the following command:

sudo yum -y install systemd-libs

How To Uninstall systemd-libs on CentOS 8

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

sudo dnf remove systemd-libs

systemd-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/8ed41d39bb74a8af24f4a00d6a6084f00a6d1b
/usr/lib/.build-id/90
/usr/lib/.build-id/90/4c705eee1c67c7653428e3671ead46b9882812
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/881fb328d06be337c20b6eb77d2af6a083446d
/usr/lib/.build-id/b3/08006dc090f3dd57983a2e789c52b68adec822
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/61edd4f75eeae2e58dbd8a1670102cd9364c27
/usr/lib/libnss_myhostname.so.2
/usr/lib/libnss_resolve.so.2
/usr/lib/libnss_systemd.so.2
/usr/lib/libsystemd.so.0
/usr/lib/libsystemd.so.0.23.0
/usr/lib/libudev.so.1
/usr/lib/libudev.so.1.6.11
/usr/share/licenses/systemd
/usr/share/licenses/systemd/LICENSE.LGPL2.1
/usr/share/man/man8/libnss_myhostname.so.2.8.gz
/usr/share/man/man8/libnss_resolve.so.2.8.gz
/usr/share/man/man8/libnss_systemd.so.2.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/0c67843c9f2a2d088b1beb33e941e9e638632d
/usr/lib/.build-id/99
/usr/lib/.build-id/99/811119946ddb99040481441192c33d62d32ddd
/usr/lib/.build-id/c5/09949e502173b140a505f1fd27a6db625d7cee
/usr/lib/.build-id/c7/d8323db17fec1248c1138b7fc8aa49e2bc1bc6
/usr/lib/.build-id/de
/usr/lib/.build-id/de/d397a47c8b52446e8ed063ffbd142e044f1e66
/usr/lib/libnss_myhostname.so.2
/usr/lib/libnss_resolve.so.2
/usr/lib/libnss_systemd.so.2
/usr/lib/libsystemd.so.0
/usr/lib/libsystemd.so.0.23.0
/usr/lib/libudev.so.1
/usr/lib/libudev.so.1.6.11
/usr/share/licenses/systemd
/usr/share/licenses/systemd/LICENSE.LGPL2.1
/usr/share/man/man8/libnss_myhostname.so.2.8.gz
/usr/share/man/man8/libnss_resolve.so.2.8.gz
/usr/share/man/man8/libnss_systemd.so.2.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/0d/d4cfde040db31dac41dc4f72f383dd259c79b5
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/be0d30c59f9449fc593451aa3fa072c563fc6a
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/93c9449f3baadd598fc69ead0381eb442f2517
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/22c1b36d4875e1b9c72eb29bd0c8fc32e5ab4b
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/1aac0c85425ea663b2ef614d9608a5124bad5f
/usr/lib64/libnss_myhostname.so.2
/usr/lib64/libnss_resolve.so.2
/usr/lib64/libnss_systemd.so.2
/usr/lib64/libsystemd.so.0
/usr/lib64/libsystemd.so.0.23.0
/usr/lib64/libudev.so.1
/usr/lib64/libudev.so.1.6.11
/usr/share/licenses/systemd
/usr/share/licenses/systemd/LICENSE.LGPL2.1
/usr/share/man/man8/libnss_myhostname.so.2.8.gz
/usr/share/man/man8/libnss_resolve.so.2.8.gz
/usr/share/man/man8/libnss_systemd.so.2.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/40efca0766225cdb116344cbc22d11bdd8239f
/usr/lib/.build-id/21
/usr/lib/.build-id/21/03aa40faeb6a06f9027c7f6fa743f01d12e3e6
/usr/lib/.build-id/68/41db2fe65fdc4c8352ca1ffc81e052f1bfc37d
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/b35ea1e0b37e3de19f32279314dc562ce7293a
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/f365287305a1f5e94dd7cf523d6f4bcf8cc69e
/usr/lib64/libnss_myhostname.so.2
/usr/lib64/libnss_resolve.so.2
/usr/lib64/libnss_systemd.so.2
/usr/lib64/libsystemd.so.0
/usr/lib64/libsystemd.so.0.23.0
/usr/lib64/libudev.so.1
/usr/lib64/libudev.so.1.6.11
/usr/share/licenses/systemd
/usr/share/licenses/systemd/LICENSE.LGPL2.1
/usr/share/man/man8/libnss_myhostname.so.2.8.gz
/usr/share/man/man8/libnss_resolve.so.2.8.gz
/usr/share/man/man8/libnss_systemd.so.2.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/0628c7545622ba9cd4e60d5ca5520b03811276
/usr/lib/.build-id/32
/usr/lib/.build-id/32/94f9774f5731e813d1fba1a5f8ec219d74ccb5
/usr/lib/.build-id/a8/f968393179a2480e30dcd88360fb08568e3079
/usr/lib/.build-id/d6/9ab4d9b77eb9e0af0b922a4bd737d01a34eddd
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/9ef9a344f7ec2e2461fb4d0e8d29181f99a67e
/usr/lib/libnss_myhostname.so.2
/usr/lib/libnss_resolve.so.2
/usr/lib/libnss_systemd.so.2
/usr/lib/libsystemd.so.0
/usr/lib/libsystemd.so.0.23.0
/usr/lib/libudev.so.1
/usr/lib/libudev.so.1.6.11
/usr/share/licenses/systemd
/usr/share/licenses/systemd/LICENSE.LGPL2.1
/usr/share/man/man8/libnss_myhostname.so.2.8.gz
/usr/share/man/man8/libnss_resolve.so.2.8.gz
/usr/share/man/man8/libnss_systemd.so.2.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/83
/usr/lib/.build-id/83/599d0e25cd821422169690b2dc92679b7e263d
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/c9de03417dd09a92ed8f4168cc8be901de55c4
/usr/lib/.build-id/a5/862c9c71994a78335c2991bc396fc8c6d1f091
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/d2abc597b9913aa03e9f9722bdb4925c23c5a7
/usr/lib/.build-id/fa/562ab12e9b3e901e6971f9168ae55adbacab79
/usr/lib64/libnss_myhostname.so.2
/usr/lib64/libnss_resolve.so.2
/usr/lib64/libnss_systemd.so.2
/usr/lib64/libsystemd.so.0
/usr/lib64/libsystemd.so.0.23.0
/usr/lib64/libudev.so.1
/usr/lib64/libudev.so.1.6.11
/usr/share/licenses/systemd
/usr/share/licenses/systemd/LICENSE.LGPL2.1
/usr/share/man/man8/libnss_myhostname.so.2.8.gz
/usr/share/man/man8/libnss_resolve.so.2.8.gz
/usr/share/man/man8/libnss_systemd.so.2.8.gz

References

Summary

In this tutorial we learn how to install systemd-libs on CentOS 8 using yum and dnf.