How To Install samba-common-libs on Rocky Linux 8

In this tutorial we learn how to install samba-common-libs on Rocky Linux 8. samba-common-libs is Libraries used by both Samba servers and clients

Introduction

In this tutorial we learn how to install samba-common-libs on Rocky Linux 8.

What is samba-common-libs

The samba-common-libs package contains internal libraries needed by the SMB/CIFS clients.

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

Install samba-common-libs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install samba-common-libs

Install samba-common-libs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install samba-common-libs

How To Uninstall samba-common-libs on Rocky Linux 8

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

sudo dnf remove samba-common-libs

samba-common-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/7a50098815f1cf4ee0312e87206e600c6a425e
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/22bac44efe092be4b1a52ab3d75dea12c02210
/usr/lib/.build-id/42
/usr/lib/.build-id/42/6690e78c78a1ddd23e42cf505e9ac2cd74bb99
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/d11d7a7d897ac1ca5075adb2cf9095684101e9
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/2df2a3475e1fb669d70c905a533251f90fff06
/usr/lib64/samba/ldb
/usr/lib64/samba/libpopt-samba3-cmdline-samba4.so
/usr/lib64/samba/libpopt-samba3-samba4.so
/usr/lib64/samba/pdb
/usr/lib64/samba/pdb/ldapsam.so
/usr/lib64/samba/pdb/smbpasswd.so
/usr/lib64/samba/pdb/tdbsam.so

References

Summary

In this tutorial we learn how to install samba-common-libs on Rocky Linux 8 using yum and dnf.