How To Install samba-common-bin on Ubuntu 20.04
Introduction
In this tutorial we learn how to install samba-common-bin
on Ubuntu 20.04.
What is samba-common-bin
samba-common-bin 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 the common files that are used by both the server (provided in the samba package) and the client (provided in the samba-clients package). Task: samba-server, kubuntu-desktop, kubuntu-full, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop
Package: samba-common-bin Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1.8 Priority: optional Section: 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: 1581 Depends: python3, python3-samba, samba-common (= 2:4.11.6+dfsg-0ubuntu1.8), samba-libs (= 2:4.11.6+dfsg-0ubuntu1.8), python3:any, libbsd0 (>= 0.0), libc6 (>= 2.14), libgnutls30 (>= 3.6.10), libldap-2.4-2 (>= 2.4.7), libncurses6 (>= 6), libpopt0 (>= 1.14), libreadline8 (>= 6.0), libtalloc2 (>= 2.2.0~), libtdb1 (>= 1.4.2~), libtevent0 (>= 0.10.0~), libtinfo6 (>= 6), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1.8) Recommends: samba-dsdb-modules Suggests: heimdal-clients, python3-markdown, python3-dnspython Filename: pool/main/s/samba/samba-common-bin_4.11.6+dfsg-0ubuntu1.8_amd64.deb Size: 522008 MD5sum: 90b4df59f5962a14ca02838a6b1506e3 SHA1: 5953dcebc2d72691c4508dd5d8bb940dfef160d3 SHA256: cba76b1ae03f3c5a6625c58d875dd9a46f7128160541e218b3850383cdf5ade7 SHA512: bb46cb2cc563f083865ed9c5775a2941a2837d239a1105b52ec5e34b3ba76921bf0dfdcbfbc0220e3846e30edcbf51295cd517f908c861696857ac0b4361b340 Homepage: http://www.samba.org Description-en: Samba common files used by both the server and the client 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 the common files that are used by both the server (provided in the samba package) and the client (provided in the samba-clients package). Task: samba-server, kubuntu-desktop, kubuntu-full, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop
Package: samba-common-bin Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1 Priority: optional Section: 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: 1579 Depends: python3, python3-samba, samba-common (= 2:4.11.6+dfsg-0ubuntu1), samba-libs (= 2:4.11.6+dfsg-0ubuntu1), python3:any, libbsd0 (>= 0.0), libc6 (>= 2.14), libgnutls30 (>= 3.6.10), libldap-2.4-2 (>= 2.4.7), libncurses6 (>= 6), libpopt0 (>= 1.14), libreadline8 (>= 6.0), libtalloc2 (>= 2.2.0~), libtdb1 (>= 1.4.2~), libtevent0 (>= 0.10.0~), libtinfo6 (>= 6), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1) Recommends: samba-dsdb-modules Suggests: heimdal-clients, python3-markdown, python3-dnspython Filename: pool/main/s/samba/samba-common-bin_4.11.6+dfsg-0ubuntu1_amd64.deb Size: 521740 MD5sum: f2792974260af8974aa2bf127bd3d22f SHA1: 977098b47250aa53954c4a982c1e7b4f9d1c3f81 SHA256: d81a93a6f646853450905ffdbf1ebcf72624401a4d21259f4a7e8eb58ca568aa Homepage: http://www.samba.org Description-en: Samba common files used by both the server and the client 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 the common files that are used by both the server (provided in the samba package) and the client (provided in the samba-clients package). Task: samba-server, kubuntu-desktop, kubuntu-full, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop
There are three methods to install samba-common-bin
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-common-bin 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-common-bin
using apt-get
by running the following command:
sudo apt-get -y install samba-common-bin
Install samba-common-bin Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install samba-common-bin
using apt
by running the following command:
sudo apt -y install samba-common-bin
Install samba-common-bin 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-common-bin
using aptitude
by running the following command:
sudo aptitude -y install samba-common-bin
How To Uninstall samba-common-bin on Ubuntu 20.04
To uninstall only the samba-common-bin
package we can use the following command:
sudo apt-get remove samba-common-bin
Uninstall samba-common-bin And Its Dependencies
To uninstall samba-common-bin
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove samba-common-bin
Remove samba-common-bin Configurations and Data
To remove samba-common-bin
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge samba-common-bin
Remove samba-common-bin configuration, data, and all of its dependencies
We can use the following command to remove samba-common-bin
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge samba-common-bin
References
Summary
In this tutorial we learn how to install samba-common-bin
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.