How To Install samba-testsuite on Ubuntu 20.04

In this tutorial we learn how to install samba-testsuite on Ubuntu 20.04. samba-testsuite is test suite from Samba test suite from Samba test suite from Samba

Introduction

In this tutorial we learn how to install samba-testsuite on Ubuntu 20.04.

What is samba-testsuite

samba-testsuite is:

Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

This package contains programs for testing the reliability and speed of SMB servers, Samba in particular.

Package: samba-testsuite Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1.8 Priority: optional Section: universe/net Source: samba Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Samba Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 8851 Depends: samba-common-bin, samba-libs (= 2:4.11.6+dfsg-0ubuntu1.8), libbsd0 (>= 0.4.0), libc6 (>= 2.17), libgnutls30 (>= 3.6.12), libldb2 (>= 2:2.0.10~), libpopt0 (>= 1.14), libreadline8 (>= 6.0), libsmbclient (>= 2:4.10.0+dfsg), libtalloc2 (>= 2.2.0~), libtdb1 (>= 1.4.2~), libtevent0 (>= 0.10.0~), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1.8) Suggests: subunit Filename: pool/universe/s/samba/samba-testsuite_4.11.6+dfsg-0ubuntu1.8_amd64.deb Size: 1861996 MD5sum: 651475a23c65effaff85c49bcda3fb91 SHA1: 007b632423bd14344954d2c3af373b0fd5849a1b SHA256: e0c42edc7b56bec145322a29ac39c0638619b87a1a9da4cd6bd47098b8e596d2 SHA512: 5744dbc1de9f26224979d1535a5383f8afdbc8327260ff25c87b8d1f02d7af0b3475a65b60cfa949bde5877f870d9d97983294f499c1fda7e7c05708a5fa7b96 Homepage: http://www.samba.org Description-en: test suite from Samba Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

This package contains programs for testing the reliability and speed of SMB servers, Samba in particular.

Package: samba-testsuite Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1 Priority: optional Section: universe/net Source: samba Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Samba Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 8841 Depends: samba-common-bin, samba-libs (= 2:4.11.6+dfsg-0ubuntu1), libbsd0 (>= 0.4.0), libc6 (>= 2.17), libgnutls30 (>= 3.6.10), libldb2 (>= 2:2.0.8~), libpopt0 (>= 1.14), libreadline8 (>= 6.0), libsmbclient (>= 2:4.10.0+dfsg), libtalloc2 (>= 2.2.0~), libtdb1 (>= 1.4.2~), libtevent0 (>= 0.10.0~), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1) Suggests: subunit Filename: pool/universe/s/samba/samba-testsuite_4.11.6+dfsg-0ubuntu1_amd64.deb Size: 1861828 MD5sum: f027459d8295d10734793b3787007558 SHA1: 9344d0b0d88bbd718828484a4ed01f23adb6bc53 SHA256: 54653276d186a7578f060715af6e781f3c4d979743315afe69732ed23cc41621 Homepage: http://www.samba.org Description-en: test suite from Samba Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

This package contains programs for testing the reliability and speed of SMB servers, Samba in particular.

There are three methods to install samba-testsuite on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install samba-testsuite Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install samba-testsuite using apt-get by running the following command:

sudo apt-get -y install samba-testsuite

Install samba-testsuite Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install samba-testsuite using apt by running the following command:

sudo apt -y install samba-testsuite

Install samba-testsuite Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install samba-testsuite using aptitude by running the following command:

sudo aptitude -y install samba-testsuite

How To Uninstall samba-testsuite on Ubuntu 20.04

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

sudo apt-get remove samba-testsuite

Uninstall samba-testsuite And Its Dependencies

To uninstall samba-testsuite and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove samba-testsuite

Remove samba-testsuite Configurations and Data

To remove samba-testsuite configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge samba-testsuite

Remove samba-testsuite configuration, data, and all of its dependencies

We can use the following command to remove samba-testsuite configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge samba-testsuite

References

Summary

In this tutorial we learn how to install samba-testsuite package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.