How to Install and Uninstall samba Package on Debian 12 (Bookworm)
Last updated: November 05,2024
Notice
You can also install and uninstall the samba on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "samba" package
In this section, we are going to explain the necessary steps to install samba on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
samba
Copied
2. Uninstall "samba" package
Please follow the steps below to uninstall samba on Debian 12 (Bookworm):
$
sudo apt remove
samba
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the samba package on Debian 12 (Bookworm)
Package: samba
Version: 2:4.17.12+dfsg-0+deb12u1
Installed-Size: 3940
Maintainer: Debian Samba Maintainers
Architecture: amd64
Depends: passwd, libpam-modules, libpam-runtime (>= 1.0.1-11), procps, python3, python3-dnspython, python3-samba (= 2:4.17.12+dfsg-0+deb12u1), samba-common (= 2:4.17.12+dfsg-0+deb12u1), samba-common-bin (= 2:4.17.12+dfsg-0+deb12u1), tdb-tools, python3:any, libbsd0 (>= 0.6.0), libc6 (>= 2.34), libcups2 (>= 1.7.0), libgnutls30 (>= 3.7.0), libldap-2.5-0 (>= 2.5.4), libldb2 (>= 2:2.6.1), libpopt0 (>= 1.14), libtalloc2 (>= 2.3.4~), libtasn1-6 (>= 4.14), libtdb1 (>= 1.4.7~), libtevent0 (>= 0.13.0~), samba-libs (= 2:4.17.12+dfsg-0+deb12u1)
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: attr, logrotate, python3-markdown, samba-dsdb-modules, samba-vfs-modules, samba-ad-provision
Suggests: bind9 (>= 1:9.5.1), bind9utils, ctdb, ldb-tools, ntp | chrony (>= 3.0-1), ufw, winbind
Enhances: bind9, ntp
Breaks: samba-ad-provision (<< 2:4.17.12+dfsg)
Description: SMB/CIFS file, print, and login server for Unix
Description-md5: c9d307ae5cf3b46be12b53a9f95862f0
Homepage: https://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.17.12+dfsg-0+deb12u1_amd64.deb
Size: 945512
MD5sum: 62260c6a98748ac1d8aa66c4660e13dd
SHA256: de0900263f46b306ea6ecbc364c436fa3a57e0e10870ca917e5c66d9259d7e7f
Package: samba
Version: 2:4.17.9+dfsg-0+deb12u3
Installed-Size: 3938
Maintainer: Debian Samba Maintainers
Architecture: amd64
Depends: passwd, libpam-modules, libpam-runtime (>= 1.0.1-11), procps, python3, python3-dnspython, python3-samba (= 2:4.17.9+dfsg-0+deb12u3), samba-common (= 2:4.17.9+dfsg-0+deb12u3), samba-common-bin (= 2:4.17.9+dfsg-0+deb12u3), tdb-tools, python3:any, libbsd0 (>= 0.6.0), libc6 (>= 2.34), libcups2 (>= 1.7.0), libgnutls30 (>= 3.7.0), libldap-2.5-0 (>= 2.5.4), libldb2 (>= 2:2.6.1), libpopt0 (>= 1.14), libtalloc2 (>= 2.3.4~), libtasn1-6 (>= 4.14), libtdb1 (>= 1.4.7~), libtevent0 (>= 0.13.0~), samba-libs (= 2:4.17.9+dfsg-0+deb12u3)
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: attr, logrotate, python3-markdown, samba-dsdb-modules, samba-vfs-modules, samba-ad-provision
Suggests: bind9 (>= 1:9.5.1), bind9utils, ctdb, ldb-tools, ntp | chrony (>= 3.0-1), ufw, winbind
Enhances: bind9, ntp
Breaks: samba-ad-provision (<< 2:4.17.9+dfsg)
Description: SMB/CIFS file, print, and login server for Unix
Description-md5: c9d307ae5cf3b46be12b53a9f95862f0
Homepage: https://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.17.9+dfsg-0+deb12u3_amd64.deb
Size: 944244
SHA256: d258141ecdd8ecd5a76a38ee993797f848f1a575ed45b97565e824abaec5a3d8
Version: 2:4.17.12+dfsg-0+deb12u1
Installed-Size: 3940
Maintainer: Debian Samba Maintainers
Architecture: amd64
Depends: passwd, libpam-modules, libpam-runtime (>= 1.0.1-11), procps, python3, python3-dnspython, python3-samba (= 2:4.17.12+dfsg-0+deb12u1), samba-common (= 2:4.17.12+dfsg-0+deb12u1), samba-common-bin (= 2:4.17.12+dfsg-0+deb12u1), tdb-tools, python3:any, libbsd0 (>= 0.6.0), libc6 (>= 2.34), libcups2 (>= 1.7.0), libgnutls30 (>= 3.7.0), libldap-2.5-0 (>= 2.5.4), libldb2 (>= 2:2.6.1), libpopt0 (>= 1.14), libtalloc2 (>= 2.3.4~), libtasn1-6 (>= 4.14), libtdb1 (>= 1.4.7~), libtevent0 (>= 0.13.0~), samba-libs (= 2:4.17.12+dfsg-0+deb12u1)
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: attr, logrotate, python3-markdown, samba-dsdb-modules, samba-vfs-modules, samba-ad-provision
Suggests: bind9 (>= 1:9.5.1), bind9utils, ctdb, ldb-tools, ntp | chrony (>= 3.0-1), ufw, winbind
Enhances: bind9, ntp
Breaks: samba-ad-provision (<< 2:4.17.12+dfsg)
Description: SMB/CIFS file, print, and login server for Unix
Description-md5: c9d307ae5cf3b46be12b53a9f95862f0
Homepage: https://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.17.12+dfsg-0+deb12u1_amd64.deb
Size: 945512
MD5sum: 62260c6a98748ac1d8aa66c4660e13dd
SHA256: de0900263f46b306ea6ecbc364c436fa3a57e0e10870ca917e5c66d9259d7e7f
Package: samba
Version: 2:4.17.9+dfsg-0+deb12u3
Installed-Size: 3938
Maintainer: Debian Samba Maintainers
Architecture: amd64
Depends: passwd, libpam-modules, libpam-runtime (>= 1.0.1-11), procps, python3, python3-dnspython, python3-samba (= 2:4.17.9+dfsg-0+deb12u3), samba-common (= 2:4.17.9+dfsg-0+deb12u3), samba-common-bin (= 2:4.17.9+dfsg-0+deb12u3), tdb-tools, python3:any, libbsd0 (>= 0.6.0), libc6 (>= 2.34), libcups2 (>= 1.7.0), libgnutls30 (>= 3.7.0), libldap-2.5-0 (>= 2.5.4), libldb2 (>= 2:2.6.1), libpopt0 (>= 1.14), libtalloc2 (>= 2.3.4~), libtasn1-6 (>= 4.14), libtdb1 (>= 1.4.7~), libtevent0 (>= 0.13.0~), samba-libs (= 2:4.17.9+dfsg-0+deb12u3)
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: attr, logrotate, python3-markdown, samba-dsdb-modules, samba-vfs-modules, samba-ad-provision
Suggests: bind9 (>= 1:9.5.1), bind9utils, ctdb, ldb-tools, ntp | chrony (>= 3.0-1), ufw, winbind
Enhances: bind9, ntp
Breaks: samba-ad-provision (<< 2:4.17.9+dfsg)
Description: SMB/CIFS file, print, and login server for Unix
Description-md5: c9d307ae5cf3b46be12b53a9f95862f0
Homepage: https://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.17.9+dfsg-0+deb12u3_amd64.deb
Size: 944244
SHA256: d258141ecdd8ecd5a76a38ee993797f848f1a575ed45b97565e824abaec5a3d8