Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I did make install on the yum package downloaded from here.

After the installation was done, if I do yum I am getting yum: Command not found.

What should I do?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Is it's install location in your $PATH environment variable? In your ~/.bash_profile you'll see a line like this:

PATH=$PATH:$HOME/bin

add the directory of the yum binary to the end of this, separating with a colon:

PATH=$PATH:$HOME/bin:/usr/local/yum

I don't know exactly where you installed it, so modify it according to your needs.

share|improve this answer
    
I don't think so. I have just installed it from where I was downloaded. –  Lazer Feb 1 '10 at 13:41
1  
Well to find the directory it's in you can run find / -type f -name yum. It will take a while to complete but it will give you the location of the binary if you're unsure. –  John T Feb 1 '10 at 13:42

Try the command whereis yum which allows you to "locate the binary, source, and manual page files for a command".

Also, did you run make install as superuser? Maybe your user just doesn't have write access to install yum to its default location.

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.