[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting a list of installed packages

On Tuesday 27 December 2005 21:53, J Merritt wrote:
> Is there a way to get a list of installed packages in Debian,
> preferably from the command line and preferably in a text file?

Yup, you could do 
dpkg --get-selections | grep install > file.txt
dpkg -l | grep ^ii > file.txt
depending on your needs. See also the dpkg manpage.


Kjetil Kjernsmo
Programmer / Astrophysicist / Ski-orienteer / Orienteer / Mountaineer
Homepage: http://www.kjetil.kjernsmo.net/     OpenPGP KeyID: 6A6A0BBC

Reply to: