[ale] Need redhat help

Fulton Green ale at FultonGreen.com
Tue Apr 22 12:09:13 EDT 2003


On Tue, Apr 22, 2003 at 11:57:32AM -0400, Geoffrey wrote:
> Jim Lynch wrote:
> > First where might I find hints on how to use the tools surrounding the
> > rpm distribution?  
> > 
> > For instance, how do I find out where a file or distribution was
> > installed? e. g. I'd like to edit httpd.conf, where did they put it. 
> 
> 'rpm -qa' will list all the packages.
> 
> 'rpm -ql package_name' will list the files that are provided by the 
> package 'package_name' (full path).
> 
> So,
> 
> rpm -ql $(rpm -qa|grep apache)
> 
> Should yield the info you're looking for.

Unless, of course, RH >= 8.0, in which case the package is no longer
called apache.  That's when you have to search all files RPM is aware of
for httpd.conf (reference my earlier email in this thread).
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list