Installing Samba under Linux
The Samba software can be installed from the command line with the following command:
sudo apt-get install samba
You should see some output similar to that below:
$ sudo apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
Use 'apt-get autoremove' to remove them.
openbsd-inetd inet-superserver smbldap-tools ldb-tools
The following NEW packages will be installed
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,450kB of archives.
After this operation, 21.1MB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu/ maverick-updates/main samba i386 2:3.5.4~dfsg-1ubuntu8.2 [7,450kB]
Fetched 7,450kB in 42s (175kB/s)
Preconfiguring packages ...
Selecting previously deselected package samba.
(Reading database ... 148901 files and directories currently installed.)
Unpacking samba (from .../samba_2%3a3.5.4~dfsg-1ubuntu8.2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ufw ...
Processing triggers for ureadahead ...
Setting up samba (2:3.5.4~dfsg-1ubuntu8.2) ...
update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode.
Importing account for nobody...ok
Importing account for fredb...ok
Importing account for jsmith...ok
smbd start/running, process 3869
nmbd start/running, process 3876