Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

This question came from our site for professional and enthusiast programmers.

normally on RHEL or Fedora, you simply do yum install samba – Bill Lynch Oct 25 '11 at 16:26
up vote 5 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

My RedHat is not registered,

# yum install samba
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use su
bscription-manager to register.
Setting up Install Process
No package samba available.
Nothing to do

Is there a way to install without the yum command, like the question above "is there an RPM file buried in there somewhere I can run?"

share|improve this answer
Are you sure that you want to use RHEL and not CentOS? As far as I know, you have to pay for RHEL updates. – Martin von Wittich Sep 24 '13 at 13:42

Your Answer


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.