LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to retrieve a list of installed programs with aptitude? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-retrieve-a-list-of-installed-programs-with-aptitude-904343/)

lauterx 09-21-2011 04:55 AM

How to retrieve a list of installed programs with aptitude?
 
how to get with aptitude

DavidMcCann 09-22-2011 11:42 AM

For listing installed packages it's not aptitude but dpkg:
dpkg -l
It's going to be a very long list, as every package is listed: about 2000! Using the GUI tool (synaptic, I think) is probably better. That should enable you to limit the display to installed items only.

jdkaye 09-22-2011 12:27 PM

Code:

sudo wajig list-installed > installed.packages
This will write to a file (installed.packages in my example) all the installed packages on your system. It is nearly instantaneous.
ciao,
jdk


All times are GMT -5. The time now is 03:36 AM.