Please provide more information, such as the exact command you typed in Terminal to get that error.
First, let me include how to install Samba:
Open a Terminal Window (Ctrl+Alt+T
) and type each of these commands in:
sudo apt-get install samba samba-common
sudo apt-get install python-glade2
sudo apt-get install system-config-samba
The following commands will help you install Samba via the Terminal, install dependencies for the Configuration tool, and the graphical interface.
If the error is
Permission denied, that means you did not run the command with elevated privileges. In other words, you need to run the same command you did to get the error, only put
sudo in front of it. It will ask you for your password to confirm. When you do that, it should allow the command to run without errors.
You should also
purge (remove the package) with:
sudo apt-get purge samba samba-common
Then, rerun the commands.