Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have just downloaded the samba-3.6.1.tar.gz file from the Samba website and want to install Samba on my RedHat Linux machine, I have extracted the contents of the samba-3.6.1.tar.gz folder but havent a clue what to do now, is there an RPM file buried in there somewhere I can run? I am very new to Linux! Thanks for any help!

share|improve this question
normally on RHEL or Fedora, you simply do yum install samba – sharth Oct 25 '11 at 16:26

migrated from stackoverflow.com Oct 25 '11 at 20:38

1 Answer

up vote 4 down vote accepted

It sounds like you downloaded the Samba source, and that's not what you want right now. Use yum install samba. That will find the correct RPM for your machine on a RedHat (or other trusted) server, download it, and install it for you. If yum gives you a message about not having permissions, use sudo yum install samba. If that says sudo: command not found, type su to switch to the root user, then yum install sudo samba. Remember to log out of root (logout or ctrl-d) as soon as you can; you shouldn't do more as root than you need to.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.