How To Install samba-client on Rocky Linux 8

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

Introduction

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

What is samba-client

The samba-client package provides some SMB/CIFS clients to complement the built-in SMB/CIFS filesystem in Linux. These clients allow access of SMB/CIFS shares and printing to SMB/CIFS printers.

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

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

sudo dnf -y install samba-client

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

sudo yum -y install samba-client

How To Uninstall samba-client on Rocky Linux 8

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

sudo dnf remove samba-client

samba-client Package Contents on Rocky Linux 8

/usr/bin/cifsdd
/usr/bin/dbwrap_tool
/usr/bin/dumpmscat
/usr/bin/findsmb
/usr/bin/mdfind
/usr/bin/mvxattr
/usr/bin/nmblookup
/usr/bin/oLschema2ldif
/usr/bin/regdiff
/usr/bin/regpatch
/usr/bin/regshell
/usr/bin/regtree
/usr/bin/rpcclient
/usr/bin/samba-regedit
/usr/bin/sharesec
/usr/bin/smbcacls
/usr/bin/smbclient
/usr/bin/smbcquotas
/usr/bin/smbget
/usr/bin/smbprint
/usr/bin/smbspool
/usr/bin/smbtar
/usr/bin/smbtree
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/9d7862292b557777e949c153fc36b5d27502f2
/usr/lib/.build-id/17/be69759d0d036933156b5fb1eea1a8d4d8f9a0
/usr/lib/.build-id/20
/usr/lib/.build-id/20/01d9e2d27a8c447d129ec63ed3c328ee481464
/usr/lib/.build-id/20/36372ecd8c1760f24fce266059563ec5a93527
/usr/lib/.build-id/24
/usr/lib/.build-id/24/2316e47aa0be575e02d2407b15feea854409b8
/usr/lib/.build-id/66
/usr/lib/.build-id/66/1f906cbf053de5e448b15d92e2481e407f0eba
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/7130b2e7ae906cdc17f31b6fe4f19fcd0e44fb
/usr/lib/.build-id/71
/usr/lib/.build-id/71/1a4fdd21c7768c0dc68774dc42df3dc67527dc
/usr/lib/.build-id/79/7b3e411c2ef02e1bfbad63d20d126af59fc1d9
/usr/lib/.build-id/7f/8e20d44d59118e221a0af3ded1789e7de8c0ea
/usr/lib/.build-id/83
/usr/lib/.build-id/83/e271f1cc929092e05f6ebe7b0476553944c1c7
/usr/lib/.build-id/98
/usr/lib/.build-id/98/e0e956a2e2045e4dbfa7bb625302272c5b2ddb
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/6bba26ea740c3ed98aabf300eb9bfda9f8702d
/usr/lib/.build-id/c1/d0e27929197ad69ada3155ae3cf074602aee84
/usr/lib/.build-id/df
/usr/lib/.build-id/df/40d685a4a451bf0d47bce7ffe9f16171ace154
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/38d6957d7e5b6e0f3d140d41517287cb41e40c
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/43943a588a10f96e230a5f41769b5875a404b7
/usr/lib/.build-id/fb/100e6ddaee855e003ac64f670c4424ff662bd9
/usr/lib/.build-id/fc/6a02ff54c9e03b1b95cfdce198ed8e1610bc39
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/e3cc853997d7784a694aea7626e5008bf8fedb
/usr/libexec/samba
/usr/libexec/samba/cups_backend_smb
/usr/share/doc/samba-client
/usr/share/doc/samba-client/README.smbspool
/usr/share/man/man1/dbwrap_tool.1.gz
/usr/share/man/man1/findsmb.1.gz
/usr/share/man/man1/log2pcap.1.gz
/usr/share/man/man1/mdfind.1.gz
/usr/share/man/man1/mvxattr.1.gz
/usr/share/man/man1/nmblookup.1.gz
/usr/share/man/man1/oLschema2ldif.1.gz
/usr/share/man/man1/regdiff.1.gz
/usr/share/man/man1/regpatch.1.gz
/usr/share/man/man1/regshell.1.gz
/usr/share/man/man1/regtree.1.gz
/usr/share/man/man1/rpcclient.1.gz
/usr/share/man/man1/sharesec.1.gz
/usr/share/man/man1/smbcacls.1.gz
/usr/share/man/man1/smbclient.1.gz
/usr/share/man/man1/smbcquotas.1.gz
/usr/share/man/man1/smbget.1.gz
/usr/share/man/man1/smbtar.1.gz
/usr/share/man/man1/smbtree.1.gz
/usr/share/man/man5/smbgetrc.5.gz
/usr/share/man/man7/traffic_learner.7.gz
/usr/share/man/man7/traffic_replay.7.gz
/usr/share/man/man8/cifsdd.8.gz
/usr/share/man/man8/samba-regedit.8.gz
/usr/share/man/man8/smbspool.8.gz

References

Summary

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