listing installed packages

Josh Holland jrh at joshh.co.uk
Tue Mar 17 21:15:11 UTC 2009


On Tue, Mar 17, 2009 at 02:08:08PM -0700, Donald Raikes wrote:
> Is there a command-line way to list all installed packages so I can see
> what has been installed?
Of course there is.
$ dpkg --get-selections > list.txt

You can even use this file to restore the package state:
$ dpkg --set-selections < list.txt

Josh




More information about the ubuntu-users mailing list