LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing apache + missing deps (http://www.linuxquestions.org/questions/linux-software-2/installing-apache-missing-deps-369971/)

blizunt7 10-05-2005 09:40 AM

installing apache + missing deps
 
Hey all,
Im on a Fedora core 4 machine, trying to install Apache 2.0.54 via RPM.

WHen i run
Code:

rpm -ivh httpd-2.0....
i get these failed dependencies:
Code:

warning: ./httpd-2.0.54-10.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        libapr-0.so.0 is needed by httpd-2.0.54-10.i386
        libaprutil-0.so.0 is needed by httpd-2.0.54-10.i386

Should i just download these 2 libraries, and place them in the /lib folder?? is the process that simple??
thanks


josh

macemoneta 10-05-2005 09:42 AM

It's even simpler:

yum install httpd

It will get the dependencies for you.

blizunt7 10-05-2005 09:46 AM

HOLLY CRAP, amazing!!!!

great help. thanks so much!

DOnt know why i dont use this more often??

Can YUM be used for any and all RPM installation???

macemoneta 10-05-2005 10:06 AM

Yes, you may need to a little set up if you want to get rpms from additional repositories (like DAG, FreshRPMs, Livna):

First, import their GPG keys to allow the packages to be verified:

Next, create the following files in /etc/yum.repos.d/

dag.repo:

Code:

[dag]
name=DAG - $basearch - Base
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
enabled=0
gpgcheck=1

freshrpms.repo:

Code:

[freshrpms]
name=FreshRPMS - $basearch - Base
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
enabled=0
gpgcheck=1

livna-stable.repo:

Code:

[livna-stable]
name=Livna-Stable - $basearch - Base
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable
enabled=0
gpgcheck=1

I've specified the entries as being disabled (enabled=0), so they will not normally be accessed during any automatic maintenance. You can manually enable on the command line if you want get something from a specific repository. For example:

yum --enablerepo=dag install somepackage


All times are GMT -5. The time now is 08:55 PM.