How can I create a list of all the programs on my PC?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
- heavy metal
- 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?
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.
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.
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.
Re: How can I create a list of all the programs on my PC?
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.
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?
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?
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.
Code: Select all
dpkg -l > ~/list.txt
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.
Re: How can I create a list of all the programs on my PC?
Cool! Different formats for different purposes.
Re: How can I create a list of all the programs on my PC?
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
J.Jay