gmc
May 11th, 2005, 09:30 AM
Hello Folks,
In my travels, I came accross this little tip that I thought you might find useful. Let's say you install Ubuntu onto a system and you want to setup another system with exactly the same packages installed. Try this
Create a list:
System1# dpkg --get-selections \* >installed-packages.txt
Use that list to install it on another computer:
System2# cat install-packages.txt | dpkg --set-selections
System2# dselect install remove
You could copy the "installed-packages.txt" onto a floppy/usb drive or even use ssh and scp/sftp the file to the new system.
Hope someone finds this useful. I did when I setup to identical servers for my home network.
G.
In my travels, I came accross this little tip that I thought you might find useful. Let's say you install Ubuntu onto a system and you want to setup another system with exactly the same packages installed. Try this
Create a list:
System1# dpkg --get-selections \* >installed-packages.txt
Use that list to install it on another computer:
System2# cat install-packages.txt | dpkg --set-selections
System2# dselect install remove
You could copy the "installed-packages.txt" onto a floppy/usb drive or even use ssh and scp/sftp the file to the new system.
Hope someone finds this useful. I did when I setup to identical servers for my home network.
G.