installation - Can't install a package with YUM

07
2014-07
  • Can Sürmeli

    I've installed YUM 2.0.7. When I try yum install kernel-headers for example I get the following error:

    enter image description here

    What should I do for a fix?

    P.S. I've installed version 2.0.7 of YUM because I'm required to use Redhat 9 for my operating systems course.

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    linux - Problems installing yum
  • Lazer

    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?


  • Related Answers
  • John T

    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.

  • mzuther

    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.