ubuntu16.04LTS
-
Ubuntu into the system, a terminal open, as shown in FIG. At this time, log in as a normal user.
-
Since the update the system will need administrator privileges, so either use "su -" to switch directly to the root user before updating. You can also use sudo to temporarily gain administrative privileges to be updated. Here the second approach.
-
Enter sudo apt update, below the 16.04 version of ubuntu enter sudo apt-get update, and then enter the user's password.
-
When prompted, you can see which software can be updated: apt list --upgradable
-
Then sudo apt upgrade update operation. This step, depending on your network status and the number of software needs to be updated, the time spent is different.
-
Generally speaking. After the update is complete there will be some unwanted old components need to be cleared. Use this time
sudo apt autoremove to complete the cleanup.
As can be seen from the figure, this upgrade did not want to clean up the old components.
END