[NBLUG/talk] rpm question

augie augie at schwer.us
Sun Jul 6 11:28:00 PDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Todd Cary wrote:
> In trying to use the php configure, I am getting the error that my
> php-4.3.2 version is made for Apache 1.3.27 (apxs).  If I want to
> install it with Apache - now called httpd - I need to specify apxs2.
> Of course, apxs2 is not present.  So, I need to uninstall the current
>  Apache (httpd), however I would like to find out what is installed.
> rpm -q httpd* does not give me that information.  Is this the correct
>  way to get what is installed?

*note: httpd is the http Daemon, which is the part that listens for web
requests.

first get the exact name of the apache package:

[augie at goku augie]$ rpm -qa | grep apache
apache-conf-1.3.26-3mdk
apache-modules-1.3.26-6.1mdk
apache-1.3.26-6mdk
apache-common-1.3.26-6.1mdk

now let's see what is included in a specified apache package:

[augie at goku augie]$ rpm -ql apache-1.3.26-6mdk
/usr/sbin/httpd
/usr/share/doc/apache-1.3.26
/usr/share/doc/apache-1.3.26/README.ADVX

you can use the above for the rest of the packages too.

now is probably a good time to point out the man command and man pages
if you haven't already found them.

[augie at goku augie]$ man rpm

would have given you all the above switches.

augie.


- --
irc.nblug.org #nblug
registered linux user #229905
gpg public key: http://www.schwer.us/schwer.asc
Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/CGqEy5knhCewwHIRAoUNAKCkxjKC17vo6CnQGc1zn5sEh/pqeQCgnqLL
ZdZISFMC/LX06gGJAlY9rOA=
=YmG+
-----END PGP SIGNATURE-----




More information about the talk mailing list