sudo apt-get install samba samba-common
Tags: install, ubuntu, samba
Published: 2017-11-21 22:40:11

---
title: sudo apt-get install samba samba-common
published: true
description: Install "Samba" on Linux Mint 18.2 ( Ubuntu )
tags: Install, Ubuntu, Samba
---

```shell
➜  ~ sudo apt-get install samba samba-common
[sudo] password for psnc: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
samba-common is already the newest version (2:4.3.11+dfsg-0ubuntu0.16.04.12).
The following additional packages will be installed:
  python-dnspython python-ldb python-samba python-tdb samba-common-bin
Suggested packages:
  bind9 bind9utils ctdb ldb-tools smbldap-tools winbind heimdal-clients
Recommended packages:
  samba-dsdb-modules samba-vfs-modules
The following NEW packages will be installed:
  python-dnspython python-ldb python-samba python-tdb samba samba-common-bin
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2.592 kB of archives.
After this operation, 21,5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-dnspython all 1.12.0-1 [85,2 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-ldb amd64 2:1.1.24-1ubuntu3 [29,3 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-tdb amd64 1.3.8-2 [11,1 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-samba amd64 2:4.3.11+dfsg-0ubuntu0.16.04.12 [1.060 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 samba-common-bin amd64 2:4.3.11+dfsg-0ubuntu0.16.04.12 [507 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 samba amd64 2:4.3.11+dfsg-0ubuntu0.16.04.12 [899 kB]
Fetched 2.592 kB in 5s (491 kB/s)
Selecting previously unselected package python-dnspython.
(Reading database ... 344994 files and directories currently installed.)
Preparing to unpack .../python-dnspython_1.12.0-1_all.deb ...
Unpacking python-dnspython (1.12.0-1) ...
Selecting previously unselected package python-ldb.
Preparing to unpack .../python-ldb_2%3a1.1.24-1ubuntu3_amd64.deb ...
Unpacking python-ldb (2:1.1.24-1ubuntu3) ...
Selecting previously unselected package python-tdb.
Preparing to unpack .../python-tdb_1.3.8-2_amd64.deb ...
Unpacking python-tdb (1.3.8-2) ...
Selecting previously unselected package python-samba.
Preparing to unpack .../python-samba_2%3a4.3.11+dfsg-0ubuntu0.16.04.12_amd64.deb ...
Unpacking python-samba (2:4.3.11+dfsg-0ubuntu0.16.04.12) ...
Selecting previously unselected package samba-common-bin.
Preparing to unpack .../samba-common-bin_2%3a4.3.11+dfsg-0ubuntu0.16.04.12_amd64.deb ...
Unpacking samba-common-bin (2:4.3.11+dfsg-0ubuntu0.16.04.12) ...
Selecting previously unselected package samba.
Preparing to unpack .../samba_2%3a4.3.11+dfsg-0ubuntu0.16.04.12_amd64.deb ...
Unpacking samba (2:4.3.11+dfsg-0ubuntu0.16.04.12) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ufw (0.35-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (229-4ubuntu21) ...
Setting up python-dnspython (1.12.0-1) ...
Setting up python-ldb (2:1.1.24-1ubuntu3) ...
Setting up python-tdb (1.3.8-2) ...
Setting up python-samba (2:4.3.11+dfsg-0ubuntu0.16.04.12) ...
Setting up samba-common-bin (2:4.3.11+dfsg-0ubuntu0.16.04.12) ...
Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.12) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for ufw (0.35-0ubuntu2) ...
```