simple yum question on FC5
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
Reading repository metadata in from local files
Excluding Packages in global exclude list
Parsing package install arguments
No Match for argument: httpd
Nothing to do
What am I doing wrong?
There is no package called httpd by the looks of it. Try apache instead. It's the apache webserver you want, right?
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?
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
yum list system-config-httpd*
if its available then
yum install system-config-httpd*
|All times are GMT -5. The time now is 08:22 PM.|