Tuesday, May 7, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 487  / 2 Years ago, wed, december 1, 2021, 6:46:37

I am about to uninstall Ubuntu entirely and reinstall a fresh copy. Before I do that I want to make a list of software/package that I have installed so far. Any way to list out?


Update:


The answer by Rinzwind shows how to get the list of all the packages from the time when Ubuntu came and directly installs the packages if they are not present but I want to get the list only; not want to install.


More From » package-management

 Answers
6
dpkg --get-selections > installed-software


creates a text file named installed-software with all installed software. Move that file to a backup.



dpkg --set-selections < installed-software
deselect


will install all the packages that have not been installed (in case you want to install them)



If you want to make a list of the differences you make another file after you installed Ubuntu again:



dpkg --get-selections > installed-software_new


and you can diff the 2 files.



If you installed the same version Ubuntu the result should be a list of packages from the old version that was not installed in the new version. Newer Ubuntu will have other package versions so it will not work.


[#38665] Wednesday, December 1, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
luringdge

Total Points: 3
Total Questions: 126
Total Answers: 109

Location: India
Member since Sun, Feb 6, 2022
2 Years ago
;