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

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
heavy metal
Level 3
Level 3
Posts: 149
Joined: Mon Jan 25, 2010 11:00 pm
Location: Puerto Rico

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

Post by heavy metal »

How can I create a list of all the programs on my PC?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Debian 12 Gnome on a MSI H61M-P25 (B3) PC & on a Dell Latitude E6410 & HP EliteBook 8540p Laptops.
LMDE 6 on a Panasonic ToughBook CF-C1 Laptop.
Bodhi Linux 7 on a HP Compaq DC5750 Small Form Factor PC.
Windows 11 on a Intel DH55TC PC.
gordintoronto

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

Post 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.
Jamesc359

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

Post 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
baptiste

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

Post 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.

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

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

Post by gordintoronto »

Cool! Different formats for different purposes.
jjaythomas

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

Post 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
Locked

Return to “Software & Applications”