We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

crazylion on 05/03/08


Tagged

ubuntushelllinux


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

Juanje


Restore All Installed packages in Ubuntu Hardy Heron and to a New machine


Published in: Bash 


URL: http://www.ubuntu-unleashed.com/2008/04/howto-restore-all-installed-packages-in.html

  1. sudo dpkg --get-selections > /etc/package.selections
  2.  
  3. sudo dpkg --set-selections < /etc/package.selections && apt-get dselect-upgrade

Report this snippet 

You need to login to post a comment.