PDA

View Full Version : [kubuntu] List explicitly installed packages



paddlaren
February 19th, 2010, 09:59 PM
Hi!

I wounder how I should do to find out what packages I have explicitly installed on the system, NOT including the dependencies.

The purpose is to get a figure of what packages I need to install when I reinstall my system.

In Gentoo one can look at the world-file (/var/lib/portage/world) which is a list of my explicitly installed packages, not including system packages (located in /var/lib/portage/system).

Regards,
Erik

zvacet
February 20th, 2010, 01:10 AM
The purpose is to get a figure of what packages I need to install when I reinstall my system.

If you mean you want exact same system after reinstall then


aptitude --display-format '%p' search '?installed!?automatic' > ~/my-packages

You will find text file in your home directory.Save that file on stick or mail it to yourself.After you reinstall put that file in your home folder and


sudo xargs aptitude --schedule-only install < my-packages
sudo aptitude install