At the prompt enter the following command to install the SAMBA server and client applications:
sudo apt-get install samba smbclient
To mount Windows filesystems using SMB, you will also need smbfs. Enter the command:
sudo apt-get install smbfs