How To Install samba-test on Rocky Linux 8

In this tutorial we learn how to install samba-test on Rocky Linux 8. samba-test is Testing tools for Samba servers and clients

Introduction

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

What is samba-test

samba-test provides testing tools for both the server and client packages of Samba.

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

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

sudo dnf -y install samba-test

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

sudo yum -y install samba-test

How To Uninstall samba-test on Rocky Linux 8

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

sudo dnf remove samba-test

samba-test Package Contents on Rocky Linux 8

/usr/bin/gentest
/usr/bin/locktest
/usr/bin/masktest
/usr/bin/ndrdump
/usr/bin/smbtorture
/usr/lib/.build-id
/usr/lib/.build-id/43/7ba773b9f060da59ca8ad13341286da721c4fd
/usr/lib/.build-id/47/861b9039522659fd1e9417133bc14c1231f316
/usr/lib/.build-id/6f/2efc5111b18054a10de984ac6f18f7e3aa7d39
/usr/lib/.build-id/89/8b0920aa960fb958e3216540035776e28951c8
/usr/lib/.build-id/e3/f22cd5ba41eafb8f7002b9ea4abcdcf707fc2d
/usr/share/man/man1/gentest.1.gz
/usr/share/man/man1/locktest.1.gz
/usr/share/man/man1/masktest.1.gz
/usr/share/man/man1/ndrdump.1.gz
/usr/share/man/man1/smbtorture.1.gz
/usr/share/man/man1/vfstest.1.gz

References

Summary

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