How To Install samba-libs on Ubuntu 20.04
Introduction
In this tutorial we learn how to install samba-libs
on Ubuntu 20.04.
What is samba-libs
samba-libs 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 shared libraries. Task: ubuntu-desktop-minimal, samba-server, ubuntu-desktop, kubuntu-desktop, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Package: samba-libs Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1.8 Multi-Arch: same Priority: optional Section: libs 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: 23602 Depends: libacl1 (>= 2.2.23), libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libbsd0 (>= 0.5.0), libc6 (>= 2.17), libcap2 (>= 1:2.10), libcups2 (>= 1.6.0), libgnutls30 (>= 3.6.12), libjansson4 (>= 2.0.1), libldap-2.4-2 (>= 2.4.7), libldb2 (>= 2:2.0.10~), libpam0g (>= 0.99.7.1), libpopt0 (>= 1.14), libpython3.8 (>= 3.8.2), libtalloc2 (>= 2.2.0~), libtdb1 (>= 1.4.2~), libtevent0 (>= 0.10.0~), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1.8), python3-talloc (>= 2.2.0~), zlib1g (>= 1:1.1.4) Breaks: libndr-standard0 (« 2:4.0.9), libsamba-credentials0 (« 2:4.0.9), libsamba-hostconfig0 (« 2:4.0.9), libsamba-util0 (« 2:4.0.9) Replaces: libndr-standard0 (« 2:4.0.9), libsamba-credentials0 (« 2:4.0.9), libsamba-hostconfig0 (« 2:4.0.9), libsamba-util0 (« 2:4.0.9), samba (« 2:4.3.3+dfsg-1) Filename: pool/main/s/samba/samba-libs_4.11.6+dfsg-0ubuntu1.8_amd64.deb Size: 5281928 MD5sum: 959d8717808269d52404076bfd94bb22 SHA1: 114e29e92c618616310aff9e6bb557abaa1d44bd SHA256: 58b8f9bd9a8a0a7e5b378d99f371d0b889f5fa783051582b98836ef9c4eed18c SHA512: 58befed70caed7aca8d0628bfa26055aaa04b5912fb0861be39ea29e2a660c928589d935daaf82b50153385087740d987f6f906b0179d16602d383521b34d136 Homepage: http://www.samba.org Description-en: Samba core libraries 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 shared libraries. Task: ubuntu-desktop-minimal, samba-server, ubuntu-desktop, kubuntu-desktop, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Package: samba-libs Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1 Multi-Arch: same Priority: optional Section: libs 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: 23416 Depends: libacl1 (>= 2.2.23), libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libbsd0 (>= 0.5.0), libc6 (>= 2.17), libcap2 (>= 1:2.10), libcups2 (>= 1.6.0), libgnutls30 (>= 3.6.10), libjansson4 (>= 2.0.1), libldap-2.4-2 (>= 2.4.7), libldb2 (>= 2:2.0.8~), libpam0g (>= 0.99.7.1), libpopt0 (>= 1.14), libpython3.8 (>= 3.8.2), libtalloc2 (>= 2.2.0~), libtdb1 (>= 1.4.2~), libtevent0 (>= 0.10.0~), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1), python3-talloc (>= 2.2.0~), zlib1g (>= 1:1.1.4) Breaks: libndr-standard0 (« 2:4.0.9), libsamba-credentials0 (« 2:4.0.9), libsamba-hostconfig0 (« 2:4.0.9), libsamba-util0 (« 2:4.0.9) Replaces: libndr-standard0 (« 2:4.0.9), libsamba-credentials0 (« 2:4.0.9), libsamba-hostconfig0 (« 2:4.0.9), libsamba-util0 (« 2:4.0.9), samba (« 2:4.3.3+dfsg-1) Filename: pool/main/s/samba/samba-libs_4.11.6+dfsg-0ubuntu1_amd64.deb Size: 5262228 MD5sum: e7b2792c054d9a21227c6f5f36dc7c6b SHA1: 48cd8034352a57a7ff2e55261b2c6048a1465bb3 SHA256: 49f7e72a484d7bbbb8fb66095c59bf1558279b410ed1a195ad39b7175c36aa23 Homepage: http://www.samba.org Description-en: Samba core libraries 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 shared libraries. Task: ubuntu-desktop-minimal, samba-server, ubuntu-desktop, kubuntu-desktop, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
There are three methods to install samba-libs
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-libs 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-libs
using apt-get
by running the following command:
sudo apt-get -y install samba-libs
Install samba-libs Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install samba-libs
using apt
by running the following command:
sudo apt -y install samba-libs
Install samba-libs 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-libs
using aptitude
by running the following command:
sudo aptitude -y install samba-libs
How To Uninstall samba-libs on Ubuntu 20.04
To uninstall only the samba-libs
package we can use the following command:
sudo apt-get remove samba-libs
Uninstall samba-libs And Its Dependencies
To uninstall samba-libs
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove samba-libs
Remove samba-libs Configurations and Data
To remove samba-libs
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge samba-libs
Remove samba-libs configuration, data, and all of its dependencies
We can use the following command to remove samba-libs
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge samba-libs
References
Summary
In this tutorial we learn how to install samba-libs
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.