LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2012, 09:56 AM   #1
rahul.6sept
LQ Newbie
 
Registered: Mar 2012
Location: Guwahati, India
Posts: 3
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 03-12-2012, 01:58 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Welcome to LQ.

yum search yum-utils

# yum install yum-utils
 
Old 03-12-2012, 03:41 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,359

Rep: Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912
Quote:
Originally Posted by rahul.6sept View Post
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.
 
Old 03-13-2012, 01:00 AM   #4
rahul.6sept
LQ Newbie
 
Registered: Mar 2012
Location: Guwahati, India
Posts: 3
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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,
 
Old 03-13-2012, 01:05 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
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/
 
Old 03-13-2012, 02:16 AM   #6
rahul.6sept
LQ Newbie
 
Registered: Mar 2012
Location: Guwahati, India
Posts: 3
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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

Last edited by rahul.6sept; 03-13-2012 at 02:19 AM.
 
Old 03-13-2012, 09:22 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,359

Rep: Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912Reputation: 3912
Quote:
Originally Posted by rahul.6sept View Post
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.

Last edited by TB0ne; 03-13-2012 at 09:48 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install YUM on RHEL 4.0 Manually neoserdes Red Hat 8 02-24-2012 09:17 AM
How to install Yum on RHEL 5 pashy Linux - Newbie 5 04-26-2010 08:26 AM
YUM Install - RHEL 5 aferraccioli Linux - Newbie 3 03-19-2009 03:44 PM
How to install a current yum in RHEL ? exceed1 Red Hat 12 12-17-2008 06:01 PM
How can I install yum and depencies on RHEL 4 ps_sabu Red Hat 2 12-01-2006 05:20 PM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration