howto install YUM and make it run properly in RHEL5?
hi all. i've using yum in fedora9 for quite a long time and i really like the ease of use it provides. no i've do some installations on rhel5 machines for which i tried to use yum and surprised that its no there. I think yum is not availabe by default in rhel5. I tried to google out and found that rhel has something called up2date kinda similar to yum. Anyways as I'm comfortable using yum , i don't want to switch to up2date. I tried installing yum using the following guide
http://www.pinoytux.com/linux/howto-...-yum-on-rhel-4 but after installation when i tried to rum "yum update" it gave me some erorr msgs Code:
#yum update http://www.linuxquestions.org/questi...-rhel4-391000/ even this didn't help. can anyone tell me how to fix the problem? thank you very much. |
yum is part of rhel5. and has replaced up2date to handle package
installation as interface to rpm. no need to install from third party sources. if you have forced installation another set of package for yum, uninstall it and install the ones from your rhel5 installer. |
It would be simpler to just install CentOS to start with. Once you update with yum, everything will be badged CentOS in any case.
The easiest way to make the change is to have an install of CentOS, and simply copy the contents of /etc/yum.repos.d across to your RH server. Then you are done. If you don't want to install CentOS somewhere, I'm happy to either post the contents of each repo here, or you can send me an email using the toiols to the left, and I'll send you current CentOS 5 repo files. |
@born4linux and @billymayday ..thank you very much...
since i couldn't find any yum i tried to install it...m able to ssh to that machine from my local box in our local LAN. please check this snip from /etc/grub.conf to ensure that its really RHEL5. Code:
default=0 Code:
/etc/log.d/scripts/services/yum thanks a lot. |
can anyone please tell me what is the issue or atleast tell me what else i need to check or may be some alternatives ...thank you.
|
It doesn't look like you have yum installed.
I use CentOS, not RH, so I can't comment on born4linux's assertion. |
Quote:
|
Have you tried installing yum from the dvd? It must be there, because I've installed the RHEL5 evaluation version that I then added the CentOS repos to (just for the exercise), and that has yum installed.
|
All times are GMT -5. The time now is 11:01 PM. |