How to list all currently installed packages in Debian / Ubuntu Linux

By Quintin Riis | Sep 24, 2008

I’m trying to clean out my horribly cluttered email inbox and bring order to my life, and I came across this old note I had emailed myself.

This is useful for whenever you need to reinstall a server or when you are upgrading your Ubuntu release to a newer version with a clean install.

To quickly and easily print out all packages currently installed, just do:

dpkg –get-selections|awk ‘{print $1}’|tr ‘\n’ ‘ ‘

RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post

© 2007 Quintin Riis dot com, - PassionDuo WordPress Theme