Note: All commands in this article must be in the taskbar: Application
(Application
Tools)-accessories (accessories)-run in the terminal, cannot use Alt + F2 to call up the window to run, because this can not be successful, And, run
When prompted to enter the password, you can enter it. Note that the password cannot be seen in Ubuntu. Therefore, do not worry that your keyboard is broken. Haha, common sense
When we install Ubuntu
Sudo apt-Get update
Then, sudo apt-Get upgrade
To make your system
Keep up to date
Status.
The downloaded software package (*. Deb format, except partial and lock) is generally stored in/var/Cache/APT/archives/
Directory, after an update, you often need to download several hundred MB
Files, slow network speed is a big problem.
However, for some reason
When you need to reinstall the system, do you need to download so many files again? If you encounter a snail like speed. As mentioned earlier,/var/Cache/APT/archives/
The directory stores Ubuntu
Update the downloaded software package.
In file backup, you do not need to re-download the system after it is re-installed.
In ubuntu
Before reinstalling the system, set/var/Cache/APT/archives/
Directory to another non-system partition (win fat
Partitions can also be), such as/home/HP
/
Backup (by yourself, the best folder name is English)
And then copy it to/var/Cache/APT/
Archives
/
Under,
The software package will be directly called from the backup directory when the update is completed after the next reinstallation. If the Backup Directory does not exist, it will be downloaded from the Internet, which greatly saves time.
Deb
File backup method
Sudo CP/var/Cache/APT/archives/*. Deb
/Home/HP
/
Backup
Here/home/HP
/
Backup
It is the path of the folder I just created (after reinstalling, I still mount the old home partition. Be sure not to format the box; otherwise, it will be formatted, there will be no previous files ,)
After you reinstall the system, enter the following command on the terminal:
CD
/Home/HP
/
Backup
Enter the backup directory on the terminal, for example:
Sudo Cp *. Deb/var/Cache/APT/archives/
Copy all files to/var/Cache/APT/archives /.
Connect to the Internet and use
System Management
More
Update the new manager and language support (select China). (networking is required. Otherwise, you will not be able to install anything, because the Update file itself needs to update the identification patch, this is not included in the backup
*. In Deb, it is estimated that the update will be completed in about 6-10 minutes.) Then you will find that the files do not need to download the Language Pack and update, and you can directly install them, in fact, before the rest of you
The installation is also in it. If you do not believe that you install those things, you can directly go to the installation interface, instead of downloading the interface or using the command:
Sudo apt-Get upgrade
Upgrade
Sudo apt-Get update
Update