keep a list of installed packages

On 9 October 2007, in computing, by ayoli

As gusty is comming soon, I need to keep a list of my currently installed packages in order to reinstall (most) of them if I make a fresh install (actually update-manager allow to upgrade the distribution when a new one comes, but there is sometimes weird behaviors with this method). So here’s my little command to perform that:
the geek way :

dpkg -l | grep ’^ii’ | awk ’{print $2 $3}’ > mypackageslist.txt

the debian way (but packages names are incomplete) :
dpkg --get-selections

voila :)

Tagged with:  

Leave a Reply

WordPress Themes

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!