How i can install samba to unix server ? .... for example i can install openssh-client
in linux by the following command :-
apt-get install openssh-client
how i can install samba in unix .... by command ??????
Asked
Active
Viewed 1,082 times
0

Mohammad AL-Rawabdeh
- 1,612
- 12
- 33
- 54
2 Answers
2
To install samba with apt-get
sudo apt-get install samba smbfs
EDIT
Solaris 9 may already have samba installed to check run
pkginfo | grep samba
if it is installed you should see that the following packages are installed
system SUNWsmbac samba - A Windows SMB/CIFS fileserver for UNIX (client)
system SUNWsmbar samba - A Windows SMB/CIFS fileserver for UNIX (Root)
system SUNWsmbau samba - A Windows SMB/CIFS fileserver for UNIX (Usr)
if the packages are not installed then you will need to locate your original SUN installation media. To install the SAMBA packages above.
Mount the relevant disk in your CD drive then
cd /cdrom/cdrom0/Solaris_9/Product
pkgadd -d . SUNWsmbac
pkgadd -d . SUNWsmbar
pkgadd -d . SUNWsmbau
I don't think that the bits of samba that you want (smbmount
) are installed by default on Solaris though.

user9517
- 115,471
- 20
- 215
- 297
-
this in linux but how i can do it in unix please :) – Mohammad AL-Rawabdeh Oct 31 '10 at 09:50
-
Which variant of unix ? – user9517 Oct 31 '10 at 09:53
-
Sun Microsystems Inc. SunOS 5.9 Generic May 2002 – Mohammad AL-Rawabdeh Oct 31 '10 at 10:03
-
2Why do you accept an answer that doesn't actually answer your question? – Sven Oct 31 '10 at 12:05