How to Install and Uninstall samba Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 06,2024

1. Install "samba" package

This is a short guide on how to install samba on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install samba

2. Uninstall "samba" package

Here is a brief guide to show you how to uninstall samba on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove samba $ sudo apt autoclean && sudo apt autoremove

3. Information about the samba package on Ubuntu 21.10 (Impish Indri)

Package: samba
Architecture: amd64
Version: 2:4.13.14+dfsg-0ubuntu0.21.10.2
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Samba Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16616
Pre-Depends: dpkg (>= 1.15.6~), init-system-helpers (>= 1.54~)
Depends: adduser, libpam-modules, libpam-runtime (>= 1.0.1-11), lsb-base (>= 4.1+Debian), procps, python3 (<< 3.10), python3-dnspython, python3-samba, samba-common (= 2:4.13.14+dfsg-0ubuntu0.21.10.2), samba-common-bin (= 2:4.13.14+dfsg-0ubuntu0.21.10.2), tdb-tools, python3 (>= 3.9~), python3:any, libbsd0 (>= 0.6.0), libc6 (>= 2.34), libgnutls30 (>= 3.7.0), libldb2 (>= 2:2.2.3~), libpopt0 (>= 1.14), libpython3.9 (>= 3.9.1), libtalloc2 (>= 2.3.1~), libtasn1-6 (>= 4.14), libtdb1 (>= 1.4.3~), libtevent0 (>= 0.10.2~), libwbclient0 (= 2:4.13.14+dfsg-0ubuntu0.21.10.2), samba-libs (= 2:4.13.14+dfsg-0ubuntu0.21.10.2)
Recommends: attr, logrotate, python3-markdown, samba-dsdb-modules, samba-vfs-modules
Suggests: bind9 (>= 1:9.5.1), bind9utils, ctdb, ldb-tools, ntp | chrony (>= 3.0-1), smbldap-tools, ufw, winbind
Enhances: bind9, ntp
Filename: pool/main/s/samba/samba_4.13.14+dfsg-0ubuntu0.21.10.2_amd64.deb
Size: 1081550
MD5sum: b4b3c7455f44d9abd68561bcb5d03e9b
SHA1: 97943f6db8b9efe5603e47f648ef49ca6f49eef2
SHA256: 6129d89b20b4555ace324ede03eaf1294e78c06663353be4c1f1197de3918d80
SHA512: 431d5dce0d206a011c7929c9006b0de69445ce94bc10b6cd72e920765a7cdf152fcb5973d94f130393a528e98b5201c61fff38eea4813f28f5f616435759a44b
Homepage: http://www.samba.org
Description-en: SMB/CIFS file, print, and login server for Unix
Samba is an implementation of the SMB/CIFS protocol for Unix systems,
providing support for cross-platform file and printer sharing with
Microsoft Windows, OS X, and other Unix systems. Samba can also function
as an NT4-style domain controller, and can integrate with both NT4 domains
and Active Directory realms as a member server.
.
This package provides the components necessary to use Samba as a stand-alone
file and print server or as an NT4 or Active Directory domain controller.
For use in an NT4 domain or Active Directory realm, you will also need the
winbind package.
.
This package is not required for connecting to existing SMB/CIFS servers
(see smbclient) or for mounting remote filesystems (see cifs-utils).
Description-md5: 3dcec89b7baaa655b2536933cdaeab54
Task: samba-server, ubuntukylin-desktop

Package: samba
Architecture: amd64
Version: 2:4.13.14+dfsg-0ubuntu0.21.10.1
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Samba Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16616
Pre-Depends: dpkg (>= 1.15.6~), init-system-helpers (>= 1.54~)
Depends: adduser, libpam-modules, libpam-runtime (>= 1.0.1-11), lsb-base (>= 4.1+Debian), procps, python3 (<< 3.10), python3-dnspython, python3-samba, samba-common (= 2:4.13.14+dfsg-0ubuntu0.21.10.1), samba-common-bin (= 2:4.13.14+dfsg-0ubuntu0.21.10.1), tdb-tools, python3 (>= 3.9~), python3:any, libbsd0 (>= 0.6.0), libc6 (>= 2.34), libgnutls30 (>= 3.7.0), libldb2 (>= 2:2.2.3~), libpopt0 (>= 1.14), libpython3.9 (>= 3.9.1), libtalloc2 (>= 2.3.1~), libtasn1-6 (>= 4.14), libtdb1 (>= 1.4.3~), libtevent0 (>= 0.10.2~), libwbclient0 (= 2:4.13.14+dfsg-0ubuntu0.21.10.1), samba-libs (= 2:4.13.14+dfsg-0ubuntu0.21.10.1)
Recommends: attr, logrotate, python3-markdown, samba-dsdb-modules, samba-vfs-modules
Suggests: bind9 (>= 1:9.5.1), bind9utils, ctdb, ldb-tools, ntp | chrony (>= 3.0-1), smbldap-tools, ufw, winbind
Enhances: bind9, ntp
Filename: pool/main/s/samba/samba_4.13.14+dfsg-0ubuntu0.21.10.1_amd64.deb
Size: 1081776
MD5sum: b24d356f32b639f6abeb752a628cb743
SHA1: d28456f3735630d3aa9008842318dd4997d3394e
SHA256: f589a7ec5c262910fd37900346795cb6152339fb13ddbc27318bcda4536a8c83
SHA512: e32a1a24c7da302a793158084b1dd2f928e679acc96754c47ad8b928df8c556a41374193a74f59d594d18a5b5bf3c82c5d4a832531fe193643003d8626651fd8
Homepage: http://www.samba.org
Description-en: SMB/CIFS file, print, and login server for Unix
Samba is an implementation of the SMB/CIFS protocol for Unix systems,
providing support for cross-platform file and printer sharing with
Microsoft Windows, OS X, and other Unix systems. Samba can also function
as an NT4-style domain controller, and can integrate with both NT4 domains
and Active Directory realms as a member server.
.
This package provides the components necessary to use Samba as a stand-alone
file and print server or as an NT4 or Active Directory domain controller.
For use in an NT4 domain or Active Directory realm, you will also need the
winbind package.
.
This package is not required for connecting to existing SMB/CIFS servers
(see smbclient) or for mounting remote filesystems (see cifs-utils).
Description-md5: 3dcec89b7baaa655b2536933cdaeab54
Task: samba-server, ubuntukylin-desktop

Package: samba
Architecture: amd64
Version: 2:4.13.5+dfsg-2ubuntu2
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Samba Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16616
Pre-Depends: dpkg (>= 1.15.6~), init-system-helpers (>= 1.54~)
Depends: adduser, libpam-modules, libpam-runtime (>= 1.0.1-11), lsb-base (>= 4.1+Debian), procps, python3 (<< 3.10), python3-dnspython, python3-samba, samba-common (= 2:4.13.5+dfsg-2ubuntu2), samba-common-bin (= 2:4.13.5+dfsg-2ubuntu2), tdb-tools, python3 (>= 3.9~), python3:any, libbsd0 (>= 0.6.0), libc6 (>= 2.33), libgnutls30 (>= 3.7.0), libldb2 (>= 2:2.2.0~), libpopt0 (>= 1.14), libpython3.9 (>= 3.9.1), libtalloc2 (>= 2.3.1~), libtasn1-6 (>= 4.14), libtdb1 (>= 1.4.3~), libtevent0 (>= 0.10.2~), libwbclient0 (= 2:4.13.5+dfsg-2ubuntu2), samba-libs (= 2:4.13.5+dfsg-2ubuntu2)
Recommends: attr, logrotate, python3-markdown, samba-dsdb-modules, samba-vfs-modules
Suggests: bind9 (>= 1:9.5.1), bind9utils, ctdb, ldb-tools, ntp | chrony (>= 3.0-1), smbldap-tools, ufw, winbind
Enhances: bind9, ntp
Filename: pool/main/s/samba/samba_4.13.5+dfsg-2ubuntu2_amd64.deb
Size: 1046112
MD5sum: be3fa9fcd28259ce8599e79f3c30cc05
SHA1: c5fb34a681f2963c4c81e27dd533d219c3f3359c
SHA256: 6c56d2970b3d14e732926b321fe182f324e980e6090524f4daf6ca27fa46f06c
SHA512: ac7bb2a53dc9a64274172d56e11bbadf694b1e5e4a88c183f95b276fe20ce3a187fcc232f1ad379b82849285fac2c0c004fc3c148e18e937b686cbccc441aa98
Homepage: http://www.samba.org
Description-en: SMB/CIFS file, print, and login server for Unix
Samba is an implementation of the SMB/CIFS protocol for Unix systems,
providing support for cross-platform file and printer sharing with
Microsoft Windows, OS X, and other Unix systems. Samba can also function
as an NT4-style domain controller, and can integrate with both NT4 domains
and Active Directory realms as a member server.
.
This package provides the components necessary to use Samba as a stand-alone
file and print server or as an NT4 or Active Directory domain controller.
For use in an NT4 domain or Active Directory realm, you will also need the
winbind package.
.
This package is not required for connecting to existing SMB/CIFS servers
(see smbclient) or for mounting remote filesystems (see cifs-utils).
Description-md5: 3dcec89b7baaa655b2536933cdaeab54
Task: samba-server, ubuntukylin-desktop