How To Install samba-winbind on Rocky Linux 8

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

Introduction

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

What is samba-winbind

The samba-winbind package provides the winbind NSS library, and some client tools. Winbind enables Linux to be a full member in Windows domains and to use Windows user and group accounts on Linux.

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

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

sudo dnf -y install samba-winbind

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

sudo yum -y install samba-winbind

How To Uninstall samba-winbind on Rocky Linux 8

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

sudo dnf remove samba-winbind

samba-winbind Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/6ba7d53e7ab997b7c83e6b103d9754d764d786
/usr/lib/.build-id/10
/usr/lib/.build-id/10/1af82a9f8d72849fc8f7939b4c12836d91b782
/usr/lib/.build-id/28/be86b85e3e03dbc3536c42ee44cccb1f7b36d3
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/4ce1968b351b4a8ddeb2f3ce9c67759dccda52
/usr/lib/.build-id/64/890627715594c140beba0b8935706de701d7db
/usr/lib/.build-id/94
/usr/lib/.build-id/94/8ef89f309c98fdb7fc530b62ebf6114e678326
/usr/lib/.build-id/a8/0c436dd060f23768fa642a93f8f0b299b7722a
/usr/lib/.build-id/a9/4d7aa8b83465006adad27f2a8ec6879c022bb9
/usr/lib/.build-id/ad/b4717950e08b6f0839a9f8668b3c23d04ab36f
/usr/lib/.build-id/b9/99172f431a99623990a8cff2117376eebf91a6
/usr/lib/.build-id/bc/e5fa6272f91f60d4434a4977e8ebbf96e9f793
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/6cfe48ec4cf90c252b3dfdee5f9b1ee16a81ba
/usr/lib/.build-id/eb/0a46a271b1e3959cf0dd759c443ca6f376999f
/usr/lib/.build-id/f0/c70db3f88eba27259b008fc8d6be8588b7d853
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/d4f4f2459967cd03b1aa9c9661b832c947fb1c
/usr/lib/NetworkManager
/usr/lib/NetworkManager/dispatcher.d
/usr/lib/NetworkManager/dispatcher.d/30-winbind
/usr/lib/systemd/system/winbind.service
/usr/lib64/samba/idmap
/usr/lib64/samba/idmap/ad.so
/usr/lib64/samba/idmap/autorid.so
/usr/lib64/samba/idmap/hash.so
/usr/lib64/samba/idmap/ldap.so
/usr/lib64/samba/idmap/rfc2307.so
/usr/lib64/samba/idmap/rid.so
/usr/lib64/samba/idmap/script.so
/usr/lib64/samba/idmap/tdb2.so
/usr/lib64/samba/libidmap-samba4.so
/usr/lib64/samba/libnss-info-samba4.so
/usr/lib64/samba/nss_info
/usr/lib64/samba/nss_info/hash.so
/usr/lib64/samba/nss_info/rfc2307.so
/usr/lib64/samba/nss_info/sfu.so
/usr/lib64/samba/nss_info/sfu20.so
/usr/sbin/winbindd
/usr/share/man/man8/idmap_ad.8.gz
/usr/share/man/man8/idmap_autorid.8.gz
/usr/share/man/man8/idmap_hash.8.gz
/usr/share/man/man8/idmap_ldap.8.gz
/usr/share/man/man8/idmap_nss.8.gz
/usr/share/man/man8/idmap_rfc2307.8.gz
/usr/share/man/man8/idmap_rid.8.gz
/usr/share/man/man8/idmap_script.8.gz
/usr/share/man/man8/idmap_tdb.8.gz
/usr/share/man/man8/idmap_tdb2.8.gz
/usr/share/man/man8/winbindd.8.gz
/var/lib/samba/winbindd_privileged

References

Summary

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