[Ubuntu tips] Quickly reinstall the software package on the newly installed Ubuntu

Source: Internet
Author: User

Author: gnuhpc
Source: http://www.cnblogs.com/gnuhpc/

For some reason, for example, you need to reinstall Ubuntu because the Ubuntu system is mounted to an independent partition, As long as/home is not formatted/home when you reinstall ubuntu, many software configuration files are still available, but in addition to the pre-installed Ubuntu software, other software and software packages need to be reinstalled, is there any easy way to quickly reinstall the software and software packages before Ubuntu. Thanks to synaptic, we can easily reinstall installed software packages.
Before you reinstall Ubuntu, choose system> System Management> New Software Package Manager ", in the new software package manager, choose File> Save marked project to save the file to/home. If the Ubuntu source you use is not the default source, you can back up the Ubuntu source to facilitate future replacement:
$ Sudo CP/etc/APT/sources. List ~ /Sources. List
Now you can reinstall ubuntu. format the root directory/mounted partition, but do not format the partition mounted to/home. After the reinstallation is complete, restore the source:
$ Sudo CP ~ /Sources. LIST/etc/APT/sources. List
Start the "New Software Package Manager" and click "file"> "read marked Project" in the menu to open the backup file stored in/home, click "application" on the toolbar to reinstall the software packages installed on the old system.

Author: gnuhpc
Source: http://www.cnblogs.com/gnuhpc/

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.