[ale] Need redhat help

Fulton Green ale at FultonGreen.com
Tue Apr 22 09:20:03 EDT 2003


Others have provided some answers, but ...

On Tue, Apr 22, 2003 at 08:47:41AM -0400, Jim Lynch wrote:
> First where might I find hints on how to use the tools surrounding the
> rpm distribution?  

Surely you mean "the rpm package".  "man rpm" and "rpm" w/o any args will
provide you with some rudimentary help.

> 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. 

For any file in general, "rpm -qal | grep AnyFileInGeneral" does the
trick.

> how do I find out what distribution might contain a specific file? e. g.
> I want to install rsync.

rpm -qf SpecificFile

> How can I find out what packages have been installed? 

rpm -qa


And you'll probably need "rpm -q --requires SpecificPackage", which tells
you which packages, files and/or "capabilities" a specific package file
depends on to be preinstalled such that the specific package can be non-
forcibly installed or upgraded.
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list