For distributions that use RPM format packages, use the command:
$ rpm -qa

You may want to pipe the output to grep, a pager, or a text file.

A: For Debian and derivative systems, the equivalent command is:
$ dpkg -l

A: For Slackware and Slackware based distributions, look in the directory
/var/log/packages

Was this answer helpful? 1 Users Found This Useful (3 Votes)