(Answer) (Category) Linux on PowerPC FAQ-O-Matic : (Category) Applications : (Category) RPM :
Why doesn't an RPM package show up in "rpm -qa" after I install it?
The problem is most likely that you are installing the package, but the RPM 
database isn't getting updated.  If you are compiling an SRPM, you must first
create an RPM, then install it.  An RPM can be installed immediately.  Follow 
these steps to make sure your RPM database gets updated with the install.

For SRPMs
---------

1. Find out package info.

  rpm -qip <package>.src.rpm

2. Install the SRPM under the /usr/src/redhat directory structure.

  rpm -i <package>.src.rpm

3. Build a binary RPM package from the source.

  rpm -bb /usr/src/redhat/SPECS/<package>.spec

4. Install the binary RPM package.

  rpm -iUv /usr/src/redhat/RPMS/ppc/<package>.ppc.rpm


Note that using "rpm -bi /usr/src/redhat/SPECS/<package>.spec" just builds 
and installs the program, not the RPM package. The (subtle) difference here 
is that the 'rpm' databases are not updated. Also, many packages are designed 
to be built in such a way as to not disturb a working system by "installing" 
into a temporary directory.  


For RPMs
--------

1. Find out package info.

  rpm -qip <package>.src.rpm

2. Install the binary RPM package.

  rpm -iUv <package>.ppc.rpm


[Thanks to Gary Thomas <g.thomas@opengroup.org> for his answer to my 
original question.]
ddkilzer@earthlink.net
[Append to This Answer]
Previous: (Answer) I can't install software because my copy of rpm is too old.
Next: (Answer) What do the uppercase and lowercase letters mean in RPM releases?
This document is: http://www.jonh.net/cgi-bin/lppcfom/fom?file=352
[Search] [Appearance]
This is a Faq-O-Matic 2.717d.
Hosted by anduin.org and SourceForge Logo