LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.

FAQS
 FAQs
Apache FAQ
Linux FAQ
XML FAQ

Log in to particpate






   Linux FAQ > 9. Miscellaneous Information and Questions Answered
Question:  9.3. How To Determine What Packages Are Installed on a System.
Answer:

For distributions that use RPM format packages, use the command:

   $ rpm -qa


You need to be logged in as root. You can save the output to a text file for future reference, a command like:

   $ rpm -qa >installed-packages


For Debian systems, the equivalent command is:

   $ dpkg -l



This FAQ is from Linux Frequently Asked Questions with Answers, maintained by Robert Kiesling

Sponsored by: