On Tue, 2005-12-27 at 12: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?

dpkg-query --show --showformat='${STATUS} ${PACKAGE} ${VERSION}
${ARCHITECTURE}\n'

(All on one line.)  You can write the output of this to a text file. 
You can drop some of the fields if you don't need them.

--Mike Bird


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to