Tuesday, July 17, 2012

How to build an exactly similar ubuntu installation on another computer

Here is an easy  way to  build an exactly similar  ubuntu installation on another computer.

$ dpkg --get-selections >my_pakages

on the machine that you want to clone. Install a clean copy of Ubuntu on the target machine. Copy the file my_packages to the target machine.
Run the following command on the target machine.
sudo dpkg --set-selections < ./package_names
sudo apt-get -u dselect-upgrade


1 comment:

Dr. Parthasarathy S said...

The tip you gave will be very useful for me. I am a teacher and I face this problem very often. Thanks a lot.