LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install Yum on RHEL 5 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-yum-on-rhel-5-a-804190/)

pashy 04-26-2010 01:47 AM

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

centosboy 04-26-2010 02:40 AM

Quote:

Originally Posted by pashy (Post 3947774)
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

pashy 04-26-2010 02:55 AM

Quote:

Originally Posted by centosboy (Post 3947808)
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....

centosboy 04-26-2010 02:59 AM

Quote:

Originally Posted by pashy (Post 3947815)
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.

pashy 04-26-2010 04:50 AM

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?

centosboy 04-26-2010 07:26 AM

Quote:

Originally Posted by pashy (Post 3947893)
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*'


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