How to get list of packages installed by me.

Asked by Sunny

How to get list of packages installed by me. If you provide me command that will be so nice of you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
Warren Hill (warren-hill) said :
#1

you could use

dpkg --get-selections > installed-software

to create a list of software installed on your system. You could then compare that with what is installed on a clean system.

I don't know where you get that from though apart from letting us know which version of Ubuntu you are running and hoping someone here has a clean install and will run the same command so you can compare or doing you own clean install on either a real or a virtual system (e.g. Virtualbox) for comparison.

Its not difficult to do just time consuming.

Revision history for this message
Sunny (sunny-dyal) said :
#2

Thanks for you quick response. I am using ubuntu 12.04 LTS. Please provide me list of clearn clean install packages.

One more thing:

I used following command which prints all packages starts with "aa"

dpkg-query -l '*aa*'

Do we have any pattern for default packages available on clean install or any field which states this is ubuntu's default package?

Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#3

Hi ,

you can find all packages installed by you with synaptic-package-manager .

~$ sudo apt-get install synaptic

Then open it and click "Status" then click "Installed (local or obsolate)" and you will see.

Any version of Ubuntu has a manifest , where all the default pre-installed packages listed.

For 12.04 LTS this list is here => http://nl.releases.ubuntu.com/precise/

Scroll down the page and you will see a file ends with .manifest

Depends on what version of Ubuntu have installed (i386=32bit or amd64=64bit) download the manifest and open it with Libreoffice to read it.

Thanks

Revision history for this message
Warren Hill (warren-hill) said :
#4

Nick appears to have answered this question already but for the sake of completeness.

The output of dpkg --get-selections

On a fresh install of Ubuntu-12.04.1-i386 is at the link below. The other versions may be different

http://paste.ubuntu.com/1360930/

Revision history for this message
Sunny (sunny-dyal) said :
#5

@Nick: I do already have synaptic package manager and it works but I need this info in terminal or might be in text file that is why I wanted to use commands. I really need solution.

Please suggest any other approach. I don't want to use 3rd party software.

Revision history for this message
Warren Hill (warren-hill) said :
#6

You have list of what is installed on your computer from the command I gave in the first post and a list of what is installed on a fresh system from Nick (using the .manifest file).

You have another list from me taken from a fresh install on a i386 Ubuntu 12.04.1

Comparing these lists should give you the information you need.

You can either use synaptic or "sudo apt-get remove" to get rid of the packages you don't want

The other alternative is to do a full backup and reinstall everything. May be quicker in the long run

Revision history for this message
Sunny (sunny-dyal) said :
#7

Thankyou all for your suggestion. I will go with "Comparing these lists should give you the information you need."

Revision history for this message
Sunny (sunny-dyal) said :
#8

Thanks NikTh, that solved my question.