LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install yum-util for rhel 6.0 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-yum-util-for-rhel-6-0-a-934043/)

rahul.6sept 03-12-2012 08:56 AM

How to install yum-util for rhel 6.0
 
Hi,

I want to install yum-util for rhel 6.0.plz guide me as how to go for the same.I'm new to linux and in prelim learning stage.

regards,
rc

knudfl 03-12-2012 12:58 PM

Welcome to LQ.

yum search yum-utils

# yum install yum-utils

TB0ne 03-12-2012 02:41 PM

Quote:

Originally Posted by rahul.6sept (Post 4624769)
Hi,
I want to install yum-util for rhel 6.0.plz guide me as how to go for the same.I'm new to linux and in prelim learning stage.

To add to what knudfl said, if you're not PAYING for RedHat enterprise, yum won't do you much good for installing things that aren't on the DVD already. If you're not paying for RHEL, you should go back and load CentOS instead, which is nearly identical, but free.

rahul.6sept 03-13-2012 12:00 AM

Thanks for ur replies. but plz tell me as where i'm going wrong in installation steps.
This is what i'm getting:


[root@localhost yum-utils-1.1.31]# yum install yum-util
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
file:///mnt/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/repodata/repomd.xml
Trying other mirror.
Setting up Install Process
No package yum-util available.
Error: Nothing to do
[root@localhost yum-utils-1.1.31]# yum install yum-utils.rpm
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
file:///mnt/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/repodata/repomd.xml
Trying other mirror.
Setting up Install Process
No package yum-utils.rpm available.
Error: Nothing to do
[root@localhost yum-utils-1.1.31]#


regards,

chrism01 03-13-2012 12:05 AM

1.
Quote:

This system is not registered with RHN.
RHN support will be disabled.
2.
Quote:

ile:///mnt/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/repodata/repomd.xml
implies that you do not have the DVD mounted at that location.
Have you seen https://code.google.com/p/iredmail/w...Yum_Repository, although if you have a GUI, you should be able to enable it there.
See also /etc/yum.repos.d.
Its possible the entry is 'disabled'


3. you can't 'yum' an rpm , only a complete package.
Chap 1 http://www.linuxtopia.org/online_boo..._6_deployment/

rahul.6sept 03-13-2012 01:16 AM

hi Chris,

i tried from dvd but dvd doesn't have yum-util pkg in it.then i downloaded yum-utils from internet, after extracting i right clicked on it and opened terminal and tried the above processes and the results are as above.
yum configuration is there already created and working nicely.plz guide.

regards,
rc

TB0ne 03-13-2012 08:22 AM

Quote:

Originally Posted by rahul.6sept (Post 4625384)
Thanks for ur replies. but plz tell me as where i'm going wrong in installation steps.
This is what i'm getting:


[root@localhost yum-utils-1.1.31]# yum install yum-util
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
file:///mnt/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/repodata/repomd.xml

As you were asked before, you need to SPELL OUT YOUR WORDS, and quit using that text-speak junk.

Chrism01 answered your question. If you have the RPM, then use the rpm {rpm -i <filename>) command to install it. Check the page that Chris gave you it has instructions. And again, unless you're going to PAY for RHEL, don't use it.


All times are GMT -5. The time now is 03:11 PM.