Ubuntu: Listing All Installed Packages


Posted:

Categories & Tags:

I just updated to Ubuntu 11.10 and had some massive issues with Ubuntu running Thunderbird.  Since Unity, the new UI software never really worked all that well, I decided it was time to wipe my settings.  Now that I’ve moved all the files in my home direcotry to another directory I can’t log in.  Moving them back didnt help.  In other words, I’m screwed.  I’d like to export all the packages I have, reformat, and reinstall those packages.  Seems simple enough and Ubuntu has great tools to do so.

To export all your packages run the following command:

dpkg --get-selections | grep -v deinstall > ubuntu-packages

This will export all installed packages to a file called, ubuntu-packages. To reinstall the packages simple run these commands

sudo apt-get update
sudo apt-get dist-upgrade
dpkg --set-selections < ubuntu-packages
sudo dselect

This will open up a dselect session. Type ‘I‘ and allow dselect to install of the the packages listed in your ubuntu-files document. When it’s finished, type ‘Q‘ and hit the ENTER key to exit dselect.  Once you exit dselect, you are done!

Volia!

Continue Reading

More from the Road

  • Garmin inReach: Venturing further away from home

    Garmin inReach: Venturing further away from home

    I recently went on a ride, and one of the participants went down. It was the end of a very long day (500 miles) for him, and he…

  • Celebrating 117,334 Miles

    Celebrating 117,334 Miles

    I walked into the garage a few weeks ago and I noticed a few “motorcycle tears” on the garage floor. On closer inspection, the right fork was leaking.…

  • Chasing Sunlight on Easter Morning

    Chasing Sunlight on Easter Morning

    Easter Sunday – it’s become one of my favorite motorcycle traditions here in the Bay Area. Easter has come late this year, April 20th to be exact. That…


New to Dashed Yellow Line? Start Here.

A few essential reads that will tell you what this place is all about.

Explore the Essentials →

Subscribe

Get the occasional dispatch from the road.

No spam. Just the better stories when they’re ready.

Comments

Leave a Reply

Discover more from Dashed Yellow Line

Subscribe now to keep reading and get access to the full archive.

Continue reading