To install it, just type sudo apt-get install samba to your Terminal (and leave it open).

To add a system-config-samba (a GUI tool for managing Samba shares and users) and get it running (with at least prompts and errors as possible), follow these easy steps:

  1. sudo apt-get install system-config-samba
  2. sudo chown Name /usr/bin/pdbedit (where Name is the actual user name)
  3. cd /
  4. cd etc
  5. sudo gedit libuser.conf
  6. save and close the file
  7. sudo chown root /home/Name/.config/ibus/bus

You should now have a functional system-config-samba (to run the GUI start it by typing system-config-samba in the Terminal).