Little Girl's Mostly Linux Blog

BackUpPackages

Back up and restore my package list

This page was last updated on October 15, 2009.

  1. Create a text file containing a list of my packages:
  2. dpkg --get-selections > mypackages.txt
  3. Install the packages from my package list onto another computer or a new copy of my operating system (Note that this must be the same release of the operating system the packages were on):
    1. Clear the dpkg selections:
    2. dpkg --clear-selections
    3. Show dpkg the list you made:
    4. dpkg --set-selection < mypackages.txt
    5. Install the packages:
    6. dselect update


Obligatory Happy Ending

And they all lived happily ever after. The end.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: WordPress Classic. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.