![]() If more than 15 minutes has passed since you executed the sudo apt-get update command from the previous steps, sudo will re-ask you to enter your account password. If there are newer versions of software in the system package lists they will be marked for update. apt-get determines which packages have updates by checking the system package lists against the versions of the software packages that are currently installed on your system. The upgrade directive tells apt-get to download and apply package updates that are available for your system. (The user executing the sudo command MUST have privileges to do so.) apt-get upgrade Execute the apt-get command with the upgrade directive. Here is a break down of this command: sudo Execute the command that follows using super user permissions. Next we will upgrade the software on our system by entering the command sudo apt-get upgrade at the system prompt. When apt-get update is complete you will again see the system prompt appear. The following screenshot shows some of what you might see. The apt-get update command can output a great deal of information and may take some time to complete. If all goes well, you will see apt-get update begin to update the system's package lists. The sudo command will now prompt you to enter the password for your user account before attempting to execute apt-get update with super user permissions.Īfter you have entered your password, press the Enter key to continue. When you have entered the command, press the Enter key to execute the command. The update directive tells apt-get to refresh the system package lists. (The user executing the sudo command MUST have privileges to do so.) apt-get update Execute the apt-get command with the update directive. ![]() The following screenshot demonstrates what you will see. To do this enter the command sudo apt-get update after the system prompt. To update the software on our system we must first ensure the system has the latest package lists installed. In this tutorial, we have logged in as techonthenet on the host called ubuntu. If you are unsure of how to do this, read our tutorial on Logging into Ubuntu Linux Server 16.04 LTS. ![]() To begin updating your Ubuntu Linux System, you will need to be logged in using a valid user account for your system. The update process can take some time to complete and some steps may take longer than others. The following steps will guide you through updating an Ubuntu Linux Server 16.04 LTS system. The system must have network connectivity and access to an Ubuntu update server. To complete this tutorial you will require a running Ubuntu Linux Server 16.04 LTS system and an account with sudo administrative privileges. In this Linux system administration tutorial you will learn how to update an Ubuntu Linux Server 16.04 LTS (Xenial Xerus) system with screenshots and instructions. Linux: How to Update Ubuntu Linux Server 16.04 LTS
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |