How to Install and Uninstall samba Package on Debian 11 (Bullseye)

Last updated: December 23,2024

1. Install "samba" package

Here is a brief guide to show you how to install samba on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install samba

2. Uninstall "samba" package

This guide let you learn how to uninstall samba on Debian 11 (Bullseye):

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

3. Information about the samba package on Debian 11 (Bullseye)

Package: samba
Version: 2:4.13.13+dfsg-1~deb11u5
Installed-Size: 16636
Maintainer: Debian Samba Maintainers
Architecture: amd64
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.13+dfsg-1~deb11u5), samba-common-bin (= 2:4.13.13+dfsg-1~deb11u5), tdb-tools, python3 (>= 3.9~), python3:any, libbsd0 (>= 0.6.0), libc6 (>= 2.14), libgnutls30 (>= 3.7.0), libldb2 (>= 2:2.2.3-2~deb11u2~), 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.13+dfsg-1~deb11u5), samba-libs (= 2:4.13.13+dfsg-1~deb11u5)
Suggests: bind9 (>= 1:9.5.1), bind9utils, ctdb, ldb-tools, ntp | chrony (>= 3.0-1), smbldap-tools, ufw, winbind
Description: SMB/CIFS file, print, and login server for Unix
Description-md5: 3dcec89b7baaa655b2536933cdaeab54
Homepage: http://www.samba.org
Enhances: bind9, ntp
Pre-Depends: dpkg (>= 1.15.6~), init-system-helpers (>= 1.54~)
Recommends: attr, logrotate, python3-markdown, samba-dsdb-modules, samba-vfs-modules
Section: net
Priority: optional
Filename: pool/updates/main/s/samba/samba_4.13.13+dfsg-1~deb11u5_amd64.deb
Size: 1181596
SHA256: c3562216c0d5038a418ec99c09c8c62115e07dd29f7ba5517c81d2b39bfccafc

Package: samba
Version: 2:4.13.13+dfsg-1~deb11u4
Installed-Size: 16636
Maintainer: Debian Samba Maintainers
Architecture: amd64
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.13+dfsg-1~deb11u4), samba-common-bin (= 2:4.13.13+dfsg-1~deb11u4), tdb-tools, python3 (>= 3.9~), python3:any, libbsd0 (>= 0.6.0), libc6 (>= 2.14), 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.13+dfsg-1~deb11u4), samba-libs (= 2:4.13.13+dfsg-1~deb11u4)
Pre-Depends: dpkg (>= 1.15.6~), init-system-helpers (>= 1.54~)
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
Description: SMB/CIFS file, print, and login server for Unix
Description-md5: 3dcec89b7baaa655b2536933cdaeab54
Homepage: http://www.samba.org
Tag: admin::filesystem, implemented-in::c, interface::daemon,
network::server, network::service, protocol::smb, role::program,
suite::samba, use::configuring
Section: net
Priority: optional
Filename: pool/main/s/samba/samba_4.13.13+dfsg-1~deb11u4_amd64.deb
Size: 1181300
MD5sum: 279f87c017445de96adcc9d84145db1a
SHA256: 7700ea38b75867b29097e7d11e91fe5d9c1824e4a1124e9f14c12a78ea0bb9f4