How to Install and Uninstall samba Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 06,2024

1. Install "samba" package

This guide covers the steps necessary to install samba on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install samba

2. Uninstall "samba" package

This guide covers the steps necessary to uninstall samba on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the samba package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: samba
Architecture: amd64
Version: 2:4.3.11+dfsg-0ubuntu0.16.04.34
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Samba Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11197
Pre-Depends: dpkg (>= 1.15.6~)
Depends: adduser, libpam-modules, libpam-runtime (>= 1.0.1-11), lsb-base (>= 4.1+Debian11ubuntu7), procps, python (>= 2.7), python-dnspython, python-samba, samba-common (= 2:4.3.11+dfsg-0ubuntu0.16.04.34), samba-common-bin (= 2:4.3.11+dfsg-0ubuntu0.16.04.34), tdb-tools, update-inetd, python (<< 2.8), python2.7:any, libbsd0 (>= 0.0), libc6 (>= 2.14), libldb1 (>= 0.9.21), libpopt0 (>= 1.14), libpython2.7 (>= 2.7), libtalloc2 (>= 2.0.4~git20101213), libtdb1 (>= 1.2.7+git20101214), libtevent0 (>= 0.9.16), libwbclient0 (= 2:4.3.11+dfsg-0ubuntu0.16.04.34), samba-libs (= 2:4.3.11+dfsg-0ubuntu0.16.04.34)
Recommends: attr, logrotate, samba-dsdb-modules, samba-vfs-modules
Suggests: bind9 (>= 1:9.5.1), bind9utils, ctdb, ldb-tools, ntp, smbldap-tools, winbind, ufw
Conflicts: libldb1 (<< 1:1.1.15), samba (<< 2:3.3.0~rc2-5), samba-ad-dc, samba-doc (<< 2:4.0.5~), samba-tools, samba4 (<< 4.0.0~alpha6-2)
Breaks: qtsmbstatus-server (<< 2.2.1-3~)
Replaces: libsamdb0 (<< 4.0.0~alpha17~), python-samba (<< 2:4.1.4+dfsg-3), samba-ad-dc, samba-common (<= 2.0.5a-2), samba-doc (<< 2:4.0.5~), samba-libs (<< 2:4.1.4+dfsg-2), samba4
Enhances: bind9, ntp
Filename: pool/main/s/samba/samba_4.3.11+dfsg-0ubuntu0.16.04.34_amd64.deb
Size: 902618
MD5sum: b2350edac5b5696ec1ff0e3d123485a3
SHA1: 56581a0ec863f929390535c4c7d9b6c8c2a2602b
SHA256: 08d415e2285b638b83ecf2cc858212548a42de5211bbeb39861138b36f9b6620
SHA512: 38d76c864229afcca99848762c376663bbd2e9ed41d295a94667830642cd87666ea0785625e7168c388b19967197bb296ac42236d2d066579c10140336c23400
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, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master
Supported: 5y

Package: samba
Priority: optional
Section: net
Installed-Size: 11192
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Samba Maintainers
Architecture: amd64
Version: 2:4.3.8+dfsg-0ubuntu1
Replaces: libsamdb0 (<< 4.0.0~alpha17~), python-samba (<< 2:4.1.4+dfsg-3), samba-ad-dc, samba-common (<= 2.0.5a-2), samba-doc (<< 2:4.0.5~), samba-libs (<< 2:4.1.4+dfsg-2), samba4
Depends: adduser, libpam-modules, libpam-runtime (>= 1.0.1-11), lsb-base (>= 4.1+Debian11ubuntu7), procps, python (>= 2.7), python-dnspython, python-samba, samba-common (= 2:4.3.8+dfsg-0ubuntu1), samba-common-bin (= 2:4.3.8+dfsg-0ubuntu1), tdb-tools, update-inetd, python (<< 2.8), python2.7:any, libbsd0 (>= 0.0), libc6 (>= 2.14), libldb1 (>= 0.9.21), libpopt0 (>= 1.14), libpython2.7 (>= 2.7), libtalloc2 (>= 2.0.4~git20101213), libtdb1 (>= 1.2.7+git20101214), libtevent0 (>= 0.9.16), libwbclient0 (= 2:4.3.8+dfsg-0ubuntu1), samba-libs (= 2:4.3.8+dfsg-0ubuntu1)
Pre-Depends: dpkg (>= 1.15.6~)
Recommends: attr, logrotate, samba-dsdb-modules, samba-vfs-modules
Suggests: bind9 (>= 1:9.5.1), bind9utils, ctdb, ldb-tools, ntp, smbldap-tools, winbind, ufw
Conflicts: libldb1 (<< 1:1.1.15), samba (<< 2:3.3.0~rc2-5), samba-ad-dc, samba-doc (<< 2:4.0.5~), samba-tools, samba4 (<< 4.0.0~alpha6-2)
Breaks: qtsmbstatus-server (<< 2.2.1-3~)
Filename: pool/main/s/samba/samba_4.3.8+dfsg-0ubuntu1_amd64.deb
Size: 899650
MD5sum: 3920efd5d516b52e94df850a4f6fac6d
SHA1: 05b422803b3089c9778fdcde1e64a2cb421e8ef7
SHA256: 311b410150f30508c3ad808d999052d7873e22f6ff5d51ba3d375b6780943fec
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
Enhances: bind9, ntp
Homepage: http://www.samba.org
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: samba-server, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master