Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
Use your imagination :) –  Rinzwind May 13 '12 at 10:36
add comment

2 Answers

up vote 0 down vote accepted
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.

share|improve this answer
1  
Not exactly what I want. a) I don't want to install those packages, I just want to list them. b) Your method list all the packages from the time Ubuntu was made. I only want to see from the time it was installed. –  Santosh Kumar May 13 '12 at 10:21
add comment

You may try this instead: if you like to backup/restore all your apps, you could try AptOnCd from Ubuntu Software Center.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.