Page 1 of 1
How can I create a list of all the programs on my PC?
Posted: Thu May 24, 2012 4:25 pm
by heavy metal
How can I create a list of all the programs on my PC?
Re: How can I create a list of all the programs on my PC?
Posted: Thu May 24, 2012 4:37 pm
by gordintoronto
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.
Re: How can I create a list of all the programs on my PC?
Posted: Sun May 27, 2012 2:10 am
by Jamesc359
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
Re: How can I create a list of all the programs on my PC?
Posted: Sun May 27, 2012 11:06 pm
by baptiste
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.
or
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.
Re: How can I create a list of all the programs on my PC?
Posted: Mon May 28, 2012 7:39 am
by gordintoronto
Cool! Different formats for different purposes.
Re: How can I create a list of all the programs on my PC?
Posted: Fri Jun 01, 2012 1:53 pm
by jjaythomas
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