[1] The Mint way:
Code: Select all
sudo apt-get install samba
And these in MATE:The following NEW packages will be installed:
python-dnspython samba
[2] You might want to take this opportunity to install it the Ubuntu way:python-dnspython python-ldb python-samba python-tdb samba samba-common-bin
Code: Select all
sudo apt-get install samba --install-recommends
And this in MATE:The following NEW packages will be installed:
libaio1 python-dnspython samba samba-dsdb-modules samba-vfs-modules
The reason for the difference is that when Mint installs a given application it doesn't always pull in all of the dependencies whereas Ubuntu does because it pulls in "recommends" dependencies by default.libaio1 python-dnspython python-ldb python-samba python-tdb samba
samba-common-bin samba-dsdb-modules samba-vfs-modules
BONUS INFO:
Ubuntu doesn't install the samba server components by default either but when the user goes into Nautilus > right click a folder > Local Network Share he is asked if he wants to install it: If you do the same thing in Mint Cinnamon you will get this crazy thing: The package that Ubuntu uses is nautilus-share. In Mint it's called nemo-share and I'm guessing it's a fork of the ubuntu package. It looks like they pulled out the logic that checks to see if samba is installed and if it's not install it likely because samba was always installed by default in Mint. When they decided to remove samba they forgot about nemo-share. Using method [1] or [2] will get rid of the error message.
Special Note to all you MATE users: In order to create samba shares from your file manager you need to install this package:
Code: Select all
sudo apt install caja-share
Some folks install a package: system-config-samba as a GUI to administer Samba. That package hasn't been updated in years so it will not run until you do this first:
Code: Select all
sudo touch /etc/libuser.conf
What prompted this mini howto was I have already seen things on the web for Mint 18 where people are suggesting installing a bunch of other stuff like winbind, or building your own interocitor, or launching your own personal communications satellite into low earth orbit. It doesn't have to be that involved.