Skip to content

Instantly share code, notes, and snippets.

@revskill10
Created November 8, 2012 23:58
Show Gist options
  • Save revskill10/4042735 to your computer and use it in GitHub Desktop.
Save revskill10/4042735 to your computer and use it in GitHub Desktop.
Baackup and restore ubuntu
sudo dpkg --get-selections > installedpackages
sudo dpkg --clear-selections
sudo dpkg --set-selections < packages.txt
sudo aptitude install
sudo dpkg -i package.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment