LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   How to list all installed packages? (https://www.linuxquestions.org/questions/debian-26/how-to-list-all-installed-packages-353370/)

bp12345 08-15-2005 04:06 AM

How to list all installed packages?
 
Is there an easy way using apt, dpkg or Synpatic to make a list of all installed packages as a text file?

fouldsy 08-15-2005 04:15 AM

Code:

dpkg -l > packages.txt
will dump all packages installed to text file (that's an L, not 1)

demian 08-15-2005 08:06 AM

Alternatively

dpkg --get-selections > installed_packages

This can be read back with

dpkg --set-selections < installed_packages


All times are GMT -5. The time now is 08:16 PM.