How can I create a list of all the programs on my PC?

Forum rules
Before you post please read how to get help
User avatar
heavy metal
Level 2
Level 2
Posts: 92
Joined: Mon Jan 25, 2010 11:00 pm
Location: Puerto Rico

How can I create a list of all the programs on my PC?

Postby heavy metal » Thu May 24, 2012 4:25 pm

How can I create a list of all the programs on my PC?
O/S: LMDE 2 MATE DE 64-bit
M/B: Gigabyte G41M-ES2L rev.1.0
Ram: Corsair CM2X1024-6400PRO (1Gb x 2 Dual Channel)
Cpu: Intel Pentium Dual Core 2.60 Ghz (E5300)
HDD: WD-6400AAKS-Caviar-SE-640Gb
'Proud user of LMDE 2'

gordintoronto
Level 3
Level 3
Posts: 106
Joined: Sat Aug 01, 2009 11:58 pm

Re: How can I create a list of all the programs on my PC?

Postby gordintoronto » Thu May 24, 2012 4:37 pm

Open Terminal, and paste this command:
dpkg --get-selections "*" > Desktop/applications

That will put a file on your desktop, listing all the "packages" on your computer. If you delete the ones which begin "lib" it will be all the programs.

The list is probably a lot longer than you expected.

User avatar
Jamesc359
Level 3
Level 3
Posts: 149
Joined: Sun May 06, 2012 1:42 pm

Re: How can I create a list of all the programs on my PC?

Postby Jamesc359 » Sun May 27, 2012 2:10 am

This is quick and dirty, but it does the job. :-)

Code: Select all

dpkg --get-selections "*" | grep -iv "lib" | grep -iv "deinstall" > Desktop/applist.txt
“Gosh, you've... really got some nice toys here.”

baptiste
Level 3
Level 3
Posts: 102
Joined: Sun Jan 22, 2012 12:25 am

Re: How can I create a list of all the programs on my PC?

Postby baptiste » Sun May 27, 2012 11:06 pm

why not dpkg -l ? it's easier, and made to be read by a human being - more pleasing and with package description. any line starting with "ii" means it's installed and working (presumably), anything else means it doesn't work.

Code: Select all

dpkg -l > ~/list.txt

or

Code: Select all

dpkg -l|less



dpkg --get-selections is more for getting a raw list of names, especially if you get the first column with awk or something. I heard of it as a way to back up the list of installed packages, but for other purpose I have only used dpkg -l for years.
you can also do something like dpkg -l|grep web, dpkg -l|grep browser etc.
Last edited by baptiste on Sun May 27, 2012 11:07 pm, edited 1 time in total.

gordintoronto
Level 3
Level 3
Posts: 106
Joined: Sat Aug 01, 2009 11:58 pm

Re: How can I create a list of all the programs on my PC?

Postby gordintoronto » Mon May 28, 2012 7:39 am

Cool! Different formats for different purposes.

jjaythomas
Level 5
Level 5
Posts: 603
Joined: Sun Mar 07, 2010 12:52 pm

Re: How can I create a list of all the programs on my PC?

Postby jjaythomas » Fri Jun 01, 2012 1:53 pm

I Believe that the 'Mint' backup tool (system>backup tool) button to backup 'software selection' call the same command. Then from the 'restore button' you can read or cut and paste (print) the list before commiting to a restore.

J.Jay


Return to “Others”

Who is online

Users browsing this forum: No registered users and 0 guests