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

Forum rules
Before you post please read this

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

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

How can I create a list of all the programs on my PC?
Linux Mint Debian Edition MATE DE 64-bit
Gigabyte G41M-ES2L--->2gb ram
Intel Pentium Dual Core 2.60ghz-->E5300
WD-6400AAKS-Caviar-SE16-640gb
Proud user of LMDE
User avatar
heavy metal
Level 2
Level 2
 
Posts: 90
Joined: Mon Jan 25, 2010 11:00 pm
Location: Puerto Rico

Linux Mint is funded by ads and donations.
 

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

Postby gordintoronto on 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.
gordintoronto
Level 3
Level 3
 
Posts: 105
Joined: Sat Aug 01, 2009 11:58 pm

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

Postby Jamesc359 on 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.”
User avatar
Jamesc359
Level 3
Level 3
 
Posts: 110
Joined: Sun May 06, 2012 1:42 pm

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

Postby baptiste on 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.
baptiste
Level 2
Level 2
 
Posts: 98
Joined: Sun Jan 22, 2012 12:25 am

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

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

Cool! Different formats for different purposes.
gordintoronto
Level 3
Level 3
 
Posts: 105
Joined: Sat Aug 01, 2009 11:58 pm

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

Postby jjaythomas on 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
jjaythomas
Level 5
Level 5
 
Posts: 597
Joined: Sun Mar 07, 2010 12:52 pm


Return to Others

Who is online

Users browsing this forum: No registered users and 4 guests