Ubuntu backup and installation source address and installed software name

Source: Internet
Author: User
You must back up the list of installed software, software source, and user files Before reinstallation. back up the list of installed software packages dpkg -- get-selections & gt;/home/user/package. selections2. back up the user folder under Home. If you have already placed Home in an additional partition, this step is no longer required. Copy all the content in the user folder to another partition, be sure to include the hidden file (Ctrl + Hide) 3. back up the software source list, set/etc/

Back up the list of installed software, software source, and user files Before reinstallation

. Back up the list of installed software packages

Dpkg -- get-selections>/home/user/package. selections

2. Back up the user folder under Home

If you have already placed Home in an additional partition, this step is no longer required. Copy all the content in all user folders to another partition. Be sure to include a hidden file (Ctrl + Hide)

3. Copy the source list of the backup software and save the sources. list in the/etc/apt/folder.

Recovery after the new system is installed:

1. Copy the backup Sources. list file to the/etc/apt/directory of the new system, overwrite the original file, and replace the intrepid in the (Ctrl + H) document with jaunty. Then update the software source (sudo apt-get update ).

2. Re-download the software in the system before installation (if you have installed a large number of software, it may take a long time)

Sudo dpkg -- set-selections/home/package. selections & apt-get dselect-upgrade

3. Finally, paste the backup master folder (/home/user name) and overwrite the existing Master folder.

With this method, we can basically use the new Ubuntu system without losing the existing system and software settings!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.