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?

link|improve this question

feedback

2 Answers

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.

link|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
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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