I'm getting the folling error message when I try to use the 'setup' application on CentOS 5.5 to configure the Apache webserver.
bash: setup: command not found
However, when I tried to install it with:
yum install setup
I got the response that it was already installed and no work need to be done.
I'm logged in as root.
Any idea what the problem could be?
Many thanks
Best Answer
In case anyone else stumbles across this question, I thought I'd provide a bit of an explanation here even though it sounds like the OP is all set:
When you install a package using
yum
, as in:You're installing a package called
setup
. This does not necessarily mean you're installing an application of the same name. In this case,setup
is simply a low-level package that installs some necessary system configuration files. You can see the complete contents of the package like this:And you can get more information about the package like this:
This includes a description of the package:
If you want to install a particular application, you can try searching for it with
yum search
, or if you know a particular binary name you can usually provide that as an argument toyum install
. For example:You can work backwards and figure out what packages owns a particular file like this:
For example: