How do I install Samba if I didn't install it when I installed FC2?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I install Samba if I didn't install it when I installed FC2?
So, I have a want to create a File Server on my network on a pre-existing LINUX server that I have running. When I installed FC2, I did not choose the windows file server option as I didn't think I'd need to use it. But, I find myself having a want for it now. How would I go about installing Samba since I didn't install it at the initial install? Last time I tried to install something rather large after initial install, I gave up on it as it had SO MANY package dependencies it would have taken longer to get them all cleared up than to reinstall LINUX.
Consider setting up apt4rpm or Yum to help you manage dependencies. Both will, IIRC, support your installation CDs as repositories. Or you could try just installing all the samba RPMs at once (rpm -ivh samba*.rpm" in the appropriate directory of your install CDs) and only fall back to setting up something more advanced if you run into major problems. You could also compile from source.
I appreciate the quick response. It would probably be easier to compile from source. But, as of yet, I'm still a LINUX newbie (as you can see by the forum I'm posting on). Where can I get the Samba source. And, once I get it down, how do I compile it?
As a Debian user, I also recommend Apt. I specifically dumped the Mandrake install I started with because of the RPM dependency hell involved. I've never looked back. Deb packages are so easy to use and you don't generally have to worry about whether the package supports "your" version of the distro.
This whole venture has ended up being extremely difficult. I tried to get apt4rpm, but it was missing files that I can't find the right packages for. I tried finding a way to download the samba source to no avail.
I hate to ask for a step by step guide on how to do this, but that might just be what I need for the time being.
Samba doesn't seem hard to find at all -- go to www.samba.org and follow the download links. Of course, I've never compiled Samba from source myself, so there may be more stuff to download, but if so the README file in the tarball will give you exact instructions for wehat to do.
That had to be the most difficult thing I have ever done since I started playin with server administration with LINUX. But, I FINALLY got it working. Thanks for the help guys!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.