On Sun, 17 Mar 2002 19:37:39 -0500
begin Joel Hammer <[EMAIL PROTECTED]> spewed forth:
> Could someone give me an example of using query formats with rpm?
> The man page says -qf followed by the format tag, like %{NAME} should do
> something useful, but I can't get it to work, at least on uninstalled
> packages.
rpm -qa -- this will show all installed packages, best used with grep.
rpm -qil <package_name> will show information on the installed package and
list the installed files
rpm -qif <filename> will show the package associated with a particular
file installed on your system
rpm -qpil <package.i386.rpm> will show you what's in a particular
not-yet-installed package.
That answer your questions?
David A. Bandel
--
Focus on the dream, not the competition.
-- Nemesis Racing Team motto
Internet (H323) phone: 206.28.187.30
_______________________________________________
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.