LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   simple yum question on FC5 (http://www.linuxquestions.org/questions/linux-software-2/simple-yum-question-on-fc5-543295/)

binesh.gummadi 04-04-2007 11:42 AM

simple yum question on FC5
 
Hi,

when I try to install httpd with yum tool, it doesn't install. This is what I get. any help?

root# yum install httpd
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
extras [2/3]
updates [3/3]
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: httpd
Nothing to do

What am I doing wrong?
Thanks

dcdbutler 04-04-2007 12:38 PM

There is no package called httpd by the looks of it. Try apache instead. It's the apache webserver you want, right?
Cheers

binesh.gummadi 04-04-2007 01:04 PM

I get the same thing when I try apache or apache2
 
I guess you are right. Maybe there is no package. Do I have to upgrade yum configuration file or something? So it will have all the latest package names and dependencies?

treed 04-04-2007 01:18 PM

Sometimes it depends on your repository that you are pulling from.
One thing to do is check to see if it is already installed by default.

1. rpm -qa | grep httpd

If it is installed then good to go. You can delete the old one by doing rpm -e package name. Note if you are removing and it has dependencies then you have to remove the file that requires the dependency first then remove the file you want to remove.


Next you want to check alternate repositories. I am not sure what OS you have but there are plenty of them out their. Add it them to yum.conf or to your /etc/yum.repos.d directory.

2. yum install httpd


This should work. If not get the source and read the instructions on how to install from source. This usually works better because you can specify the location and the necessary modules that you want to install

mickza 04-04-2007 02:22 PM

Try

yum list system-config-httpd*

if its available then

yum install system-config-httpd*


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