How to Install and Uninstall samba Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 06,2024

1. Install "samba" package

Learn how to install samba on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install samba

2. Uninstall "samba" package

This guide covers the steps necessary to uninstall samba on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the samba package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: samba
Architecture: amd64
Version: 2:4.7.6+dfsg~ubuntu-0ubuntu2.28
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Samba Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10998
Pre-Depends: dpkg (>= 1.15.6~)
Depends: adduser, libpam-modules, libpam-runtime (>= 1.0.1-11), lsb-base (>= 4.1+Debian), procps, python (<< 2.8), python-dnspython, python-samba, samba-common (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.28), samba-common-bin (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.28), tdb-tools, python (>= 2.7~), python2.7:any, python:any (<< 2.8), python:any (>= 2.7~), libattr1 (>= 1:2.4.46-8), 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), samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.28)
Recommends: attr, logrotate, 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.7.6+dfsg~ubuntu-0ubuntu2.28_amd64.deb
Size: 855244
MD5sum: 879b746210eea40951adc47909565f4a
SHA1: aee99b854c2397f8754e0edb8a168626776af810
SHA256: e4e29ff182f021a051a852d46dc9c131c15414f32299cb6002b1aa8e80382f19
SHA512: afc5915de83d46feb7801def742997b89dbd721c70309915cb87ce44f4ed141fb6f536484581349e12d35f8ae1832e327a47c5b033060468c99d494d3d8da685
Homepage: http://www.samba.org
Description: SMB/CIFS file, print, and login server for Unix
Description-md5: 3dcec89b7baaa655b2536933cdaeab54
Task: samba-server, ubuntu-budgie-desktop
Supported: 5y

Package: samba
Architecture: amd64
Version: 2:4.7.6+dfsg~ubuntu-0ubuntu2
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Samba Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10985
Pre-Depends: dpkg (>= 1.15.6~)
Depends: adduser, libpam-modules, libpam-runtime (>= 1.0.1-11), lsb-base (>= 4.1+Debian), procps, python (<< 2.8), python-dnspython, python-samba, samba-common (= 2:4.7.6+dfsg~ubuntu-0ubuntu2), samba-common-bin (= 2:4.7.6+dfsg~ubuntu-0ubuntu2), tdb-tools, python (>= 2.7~), python2.7:any, python:any (<< 2.8), python:any (>= 2.7~), libattr1 (>= 1:2.4.46-8), 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), samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2)
Recommends: attr, logrotate, 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.7.6+dfsg~ubuntu-0ubuntu2_amd64.deb
Size: 854572
MD5sum: f7ab44712feb9c7ab5a8495bbbfb803c
SHA1: f15c67a8cf665ba980e968c74d717dc8711fe594
SHA256: 0fe1b6efb14e3f68b39bd36971e00e074b67216f45d7ad685908cb361f29ca29
Homepage: http://www.samba.org
Description: SMB/CIFS file, print, and login server for Unix
Description-md5: 3dcec89b7baaa655b2536933cdaeab54
Task: samba-server, ubuntu-budgie-desktop
Supported: 5y