If I have installed a lot of programs/games on my computer(desktop) and now buy a new laptop and I have installed a Ubuntu 11.10 on it too then,how to move all installed programs on my desktop to my laptop instead of installing them again on my laptop ???
Best way to do that is a full backup of your system and then restore it the the new disk.
You have basically 3 choices:
- Full manual system installation, all programs and configurations done
one by one or using any automated process of installing the packages that you had. Configuration of those packages will probably be necessary after installation, with a bit of luck you will be able to "move" all your programs configuration by copying your
homefolder from the old computer to the new one;
- Full system backup done with backups tools such as
deja-dupwhich will then be restored to the new system;
- Disk cloning from the old system to the new. An image can be made from your old system and then restored to the new one leaving your system identical as the previous one. You can use dedicated applications such as clonezilla or a more simple approach suck as dd;
In the end its options 2 and 3 will make the all process faster and no (mostly no) downloads needed but option 1 will leave you with a cleaner system.
1)open nautilus with sudo nautilus command , go to var/cache/ apt/archives select and copy the folder with packages u have downloaded .(if it gives error , just click on skip and Dont worry )
2)paste it to a external drive . also copy and paste your home folder . 3)copy and paste both folders in your second pc. 4)install synaptic package manager in second pc , click on add downloaded packages from menu and point to the location u copied archive folder. it will add them and mark them automatically . if it gives error for broken packages , update cache with update manager or reload and click on 'fix broken packages' from menu . 5)click on apply . u will have to download only if there is new version available for something . 6)after installation copy the home folder to your home. restart your system.
by following this procedure u will have clean system and u will have to download least .
As techvish81 said you just have a copy of your hard disk. If you didn't find the .deb packages just search for it in Nautilus if you don't like the command-line approach.I'm sure you will get it.
And then place all the .debs you want in a folder and run the following command
sudo dpkg -i *.deb