LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-26-2010, 01:47 AM   #1
pashy
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Rep: Reputation: 0
How to install Yum on RHEL 5


Hi,

This is pashy.
I am new to linux and recently I have installed RHEL 5 in on a Virtual PC.
I am stuck around while installing the yum server.
Initially, I tried installing it by mounting the DVD but it didn't work for me after which I did a lot of google search I tried all the various procedures of the installation of yum server/RPM packages. But however I am finding it impossible to go ahead and I am geting an ***error 404: not found***
Could anyone please assist me with the best possible way of installation.
Also since I am not well acquainted with linux, can I request for a detailed explanation of each & every steps involved.

I would be obliged if you could please reply the solution to my email id **pbangera@vertex.co.in** since I am worried if I could easily find the reply in this forum.

Awaiting your kind reply.

****Have a great day & week ahead****

Thanks in advance,
Pashy
 
Old 04-26-2010, 02:40 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by pashy View Post
Hi,

This is pashy.
I am new to linux and recently I have installed RHEL 5 in on a Virtual PC.
I am stuck around while installing the yum server.
Initially, I tried installing it by mounting the DVD but it didn't work for me after which I did a lot of google search I tried all the various procedures of the installation of yum server/RPM packages. But however I am finding it impossible to go ahead and I am geting an ***error 404: not found***
Could anyone please assist me with the best possible way of installation.
Also since I am not well acquainted with linux, can I request for a detailed explanation of each & every steps involved.

I would be obliged if you could please reply the solution to my email id **pbangera@vertex.co.in** since I am worried if I could easily find the reply in this forum.

Awaiting your kind reply.

****Have a great day & week ahead****

Thanks in advance,
Pashy

insert the cd in the drive.
one way -
start --> system --> add/remove software, then click on the search tab or the list tab

another way...

mount dvd, cd into the directory that contains all the package rpms, and install it this way (rpm -ivh yum-3.2.19-18.rhel.noarch.rpm) or whatever the package name is called
 
Old 04-26-2010, 02:55 AM   #3
pashy
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by centosboy View Post
insert the cd in the drive.
one way -
start --> system --> add/remove software, then click on the search tab or the list tab

another way...

mount dvd, cd into the directory that contains all the package rpms, and install it this way (rpm -ivh yum-3.2.19-18.rhel.noarch.rpm) or whatever the package name is called
Thank you so much for the reply.
But I just wonder whether it could be much more explanatory.
I am sorry but I have just started trying out linux so have min knowledge about it now.
So could you please be kind enough to understand my situation & reply with each & every step & commands for every steps as well.
Sorry for the botherance....
 
Old 04-26-2010, 02:59 AM   #4
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by pashy View Post
Thank you so much for the reply.
But I just wonder whether it could be much more explanatory.
I am sorry but I have just started trying out linux so have min knowledge about it now.
So could you please be kind enough to understand my situation & reply with each & every step & commands for every steps as well.
Sorry for the botherance....
open a shell window (Alt+F2). Type pirut. Click on the search tab. Search for yum.
Install.
 
Old 04-26-2010, 04:50 AM   #5
pashy
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks, but I am sorry that when I type pirunt in the shell window there is an error:Unable to import modules. Maybe you're not running under X?
 
Old 04-26-2010, 07:26 AM   #6
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by pashy View Post
Thanks, but I am sorry that when I type pirunt in the shell window there is an error:Unable to import modules. Maybe you're not running under X?
are you running a gui?
or try system-config-packages. you must be running Xwindows to use this. If not, you will have to mount dvd and navigate to the yum package then install using rpm. If you cannot navigate, use find to find yum package.

from root of mount point or dvd

Code:
find . -name 'yum*'

Last edited by centosboy; 04-26-2010 at 07:40 AM.
 
  


Reply



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
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 12:56 PM
YUM Install - RHEL 5 aferraccioli Linux - Newbie 3 03-19-2009 02:44 PM
How to install a current yum in RHEL ? exceed1 Red Hat 12 12-17-2008 05:01 PM
How can I install yum and depencies on RHEL 4 ps_sabu Red Hat 2 12-01-2006 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:09 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
Open Source Consulting | Domain Registration