how to install dependencies in redhat
Hi there,
Actually I am new to RedHat and exploring it, and till now finding it very interesting. so while doing some experiment I have come accross with few problems. I have set up a local YUM Server and was trying to install "httpd-2.2.3-53.el5.i386" First I tried: Code:
# yum install httpd-2.2.3-53.el5.i386 Code:
Public key for httpd-2.2.3-53.el5.i386.rpm is not installed Code:
# rpm -ivh httpd-2.2.3-53.el5.i386 Code:
Warning: 1. How can I install in a way that dependencies are going to be installed automatically 2. How can I download those particular rpms and from where? Moreover I want to download all latest rpms and want to store into my local YUM server, if I somehow download a rpm can I just drag and drop to my YUM Server folder or do I need to run once again the command "createrepo ..... " ? Thanks in advance. |
First I tried:
Code:
# yum install httpd-2.2.3-53.el5.i386 Code:
Public key for httpd-2.2.3-53.el5.i386.rpm is not installed You need to import your local repository gpg key Code:
rpm --import http://[your local server]/RPM-GPG-KEY-CentOS-X then I tryed to install with the following way (I guess these both ways actually do the same thing) Code:
# rpm -ivh httpd-2.2.3-53.el5.i386 Code:
Warning: Now my questions are: 1. How can I install in a way that dependencies are going to be installed automatically Code:
yum command Code:
Redhat official subscription, you can use rhn-update. You just need redhat network account to download packages. |
Thanks a lot!!
|
also unless you NEED and i do mean NEED to use the older RHEL 5.10
it would be better to install the current RHEL 6.5 also DO NOT use the full name Code:
su - if you use "httpd-2.2.3-53.el5.i386" the dependance's for that EXPLICIT version might not be there and if you MUST install the 32 bit version ( i386) on a 64 bit OS you will need all the 32 bit compatibility software to go with it and if you try to install an older version "httpd-2.2.3-53.el5.i386" httpd-2.2.3-83.el5.centos.i386.rpm is the version in 5.10 the dependencies will not get installed -- they will be older than the current so do you have a 32 bit install of rhel5.10 on OLD 32 bit hardware if so then install the 32 bit ( the ONLY version you can install on 32 bit hardware ) but if you have a 64 bit install USE the 64 bit version also installing the software group would be best Code:
su - Code:
su - Quote:
the standard 1 year SERVER license is $799/year the standard 1 year DESKTOP license is $299 / year you have to buy the license to install software -- there are no "if's, and's or but's about that buy the required support contract !!! or install the FREE clone CentOS 6.5 or the older 5 series for OLD hardware CentOS 5.10 Quote:
or install Centos6.5 or the older 5.10 |
Thanks .. a lot.. !!!
|
All times are GMT -5. The time now is 07:47 PM. |