How To Install samba-libs on Rocky Linux 8

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

Introduction

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

What is samba-libs

The samba-libs package contains the libraries needed by programs that link against the SMB, RPC and other protocols provided by the Samba suite.

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

Install samba-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-libs using dnf by running the following command:

sudo dnf -y install samba-libs

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

sudo yum -y install samba-libs

How To Uninstall samba-libs on Rocky Linux 8

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

sudo dnf remove samba-libs

samba-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0f/cabfaa56c88472eb37cdf6a45e5b661efcb861
/usr/lib/.build-id/24
/usr/lib/.build-id/24/8cf81dbdc59879ab21004acc7efafab1b7fa5a
/usr/lib/.build-id/29/e555360a3be778ca995ba73a02359b4c45d53c
/usr/lib/.build-id/64
/usr/lib/.build-id/64/1a7136e677dfede0731452ee55e3978f8fcf57
/usr/lib/.build-id/88
/usr/lib/.build-id/88/d31d0e1620ef90e07e57b1db77dc37c48ddb41
/usr/lib/.build-id/99
/usr/lib/.build-id/99/46407b3d1d85d3c7be3f7640c74e1611333c6b
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/0e9c646d0805d22b9a2e70f640802c0923c150
/usr/lib/.build-id/fa/6a47899bed25c87c5b7bfc11efee9d6c1f6508
/usr/lib/libdcerpc-samr.so.0
/usr/lib/libdcerpc-samr.so.0.0.1
/usr/lib/samba/libLIBWBCLIENT-OLD-samba4.so
/usr/lib/samba/libauth-unix-token-samba4.so
/usr/lib/samba/libauth4-samba4.so
/usr/lib/samba/libdcerpc-samba4.so
/usr/lib/samba/libshares-samba4.so
/usr/lib/samba/libsmbpasswdparser-samba4.so
/usr/lib/samba/libxattr-tdb-samba4.so
/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/f9b964ad31d23e2c49f6160c40a8c757675015
/usr/lib/.build-id/68
/usr/lib/.build-id/68/91ecd28f1c0b976dbef9f479cf67f0caf93e8c
/usr/lib/.build-id/70/c30a218f8c0a56890190cf4512c3a478679f80
/usr/lib/.build-id/78/b95531bfa218bb492def6118823cfa512b18b5
/usr/lib/.build-id/85
/usr/lib/.build-id/85/60563c907fdc22108b36b10664f512e4f76259
/usr/lib/.build-id/c1/73254d1e328ec9df2fee0e0ba28b42b640b930
/usr/lib/.build-id/c9/c100b926a1795505d9a278e3771214f4ba2336
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/e155b408fa695556538e5c4e0d7f8120454784
/usr/lib64/libdcerpc-samr.so.0
/usr/lib64/libdcerpc-samr.so.0.0.1
/usr/lib64/samba/libLIBWBCLIENT-OLD-samba4.so
/usr/lib64/samba/libauth-unix-token-samba4.so
/usr/lib64/samba/libauth4-samba4.so
/usr/lib64/samba/libdcerpc-samba4.so
/usr/lib64/samba/libshares-samba4.so
/usr/lib64/samba/libsmbpasswdparser-samba4.so
/usr/lib64/samba/libxattr-tdb-samba4.so

References

Summary

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