My ubuntu laptop is customised with all the programs and themes of my choise,can i transfer these software to another computer running ubuntu and install them there via usb drive.
I know a manual way to do this, so here it goes:
- Copy the contents of
/var/cache/apt/archivesto a folder on your USB drive. Alternatively you could create a disc image repository using
- In the file manager (Nautilus), in your home directory, display hidden folders (to do this temporarily the keyboard shortcut is
Ctrl+H). Folders starting with a period are the hidden folders, and contain your user preferences to the applications you use. Find the folders of the applications you want to back up (for instance
.wine) and copy all of those to (preferably) a different folder on your USB drive.
- Now on the computer that you wish to configure the same way as your first computer, from your USB drive copy all those Deb files into
/var/cache/apt/archives(you'd have to do it as root) if you want to install them from Synaptic (it's a little nicer to do in Synaptic because if Synaptic finds a newer version of that package, it'll download it from the Internet). Alternatively you can go to that folder in the terminal (in the terminal you could do
cd /media/usbdrive/debfiles/and then running
sudo dpkg -i *.debto install all those deb files. You may want to go into Synaptic afterwards to make sure you don't have any missing packages to install.
- Lastly, copy those folders starting with a period into your new home directory. If there was already a folder there, you could delete it first (make sure that application is closed). For instance while Thunderbird isn't running, delete
.thunderbirdin your home directory and copy over
.thunderbirdfrom your USB drive.
That should provide you with a quick installation (well you save on download time) of all the software you use and a quick importation of your user configuration of those applications. Enjoy.
It's not impossible, but it is a lot of work. However, it sounds like you want to keep the applications settings so that you don't have to reconfigure things. Good news! Unlike Windows, settings are not connected to the application. All settings are stored in your home directory, so if you copy it to another computer and reinstall the software, it'll be exactly as it was on the other computer.
Transferring a specific applications settings is also very easy. New software will usually store their settings in ~/.config/application_name/, it's data in ~/.local/share/application_name/ and cache in ~/.cache/application_name. Unfortunately, not all applications follow that convention yet. The old convention was to store it directly in your home directory, such as ~/.appname.