Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Ubuntu Community Ask! Developer Design Hardware Insights Juju Shop More
sign up log in tour help
_
Ask Ubuntu is a question and answer Here's how it works:
site for Ubuntu users and developers.
Join them; it only takes a minute:
Sign up
Anybody can ask Anybody can The best answers are voted
a question answer up and rise to the top
How can I backup my programs/applications, so that after I reinstall a new one, I can still use the backup-
ed ones?
Is there a way, that I could backup all my programs, all apps, put them in a directory or something, so that I could install them quickly next time,
without having to manually going over the app center, downloading them from terminal, etc?
Note that I might import them from a distro other than the one I exported them on. So, say I'm in Ubuntu, exported some stu, and then installed
BT and wanted to import them from there.
backup
3 @Martin Betz: I disagree that that question is a duplicate. The OP clearly wants a comprehensive back-up of all
installed applications, including ones that weren't installed through apt-get or dpkg. Flimm Jan 15 '13 at 13:08
4 Possible duplicate of How to backup settings and list of installed packages raphael Jul 2 '16 at 23:05
3 Answers
1. dpkg --get-selections > package_list This creates a text le ( package_list ) with all
package installed in your system. You can edit the le if you want to delete some
packages.
2. Backup /etc/apt/sources.list le and /etc/apt/sources.list.d/ folder. Here there are
all the repositories.
3. Backup /home/MyUser folder. All application settings are hide folders/les in your user's
home folder, maybe you want to select what settings you want to restore.
4. Format and install new Ubuntu.
5. Restore your repositories ( /etc/apt/sources.list le and /etc/apt/sources.list.d/
folder).
6. sudo apt-get update && sudo apt-get upgrade
Well, there are 9 steps, but you have an easy Ubuntu clean install.
Another solution is to mantain a list with your installed applications, then sudo apt-get
install app-name (you can create a bash script).
@lago Is it possible to avoid default installed applications. As an example refox is default installed, and vlc is not.
So next when i will install system only install vlc. shantanu Oct 31 '13 at 12:26
@shantanu for do that you have to build your own Ubuntu image. There are some software that helps you. Search
in Google or ask another question :) ilazgo Oct 31 '13 at 13:09
@lago sorry for my bad explanation. Actually i mean that, A fresh installed ubuntu has refox installed. Now i
install vlc. Lets get package list. There should be two package, refox and vlc. Now i want to install fresh ubuntu
again. Want to restore my packages. dpkg --set-selection < package_list. dpkg will run for refox and vlc. But i don't
1 of 1 9/10/17, 7:46 pm