Here we skipped installing all new packages entirely and only installed one new package(or version). In case you do not want to install all the newer versions that are available for several packages and only want one in specific, you can do that by running: sudo apt update Note that it isn’t mandatory to use these two commands together all the time. These commands can also be written in the following form. So, we use these commands in the following order: sudo apt update When we enter this command, we’re sending a command to our machine to check and compare the versions of all the packages that are installed in our machine currently with the packages in the list that we copied earlier through sudo apt update, and then upgrade the packages whose newer versions are available. On the contrary, sudo apt upgrade updates all the currently installed packages in our machines to their latest versions. When we enter this command, we send a command to browse the package list and copy the latest version to our local machine. The command checks for the latest list of available packages in the repositories. It is necessary to note that update doesn’t install any packages or even upgrade them. sudo apt update updates the list of all packages that are available along with their versions. apt, as mentioned earlier, invokes the Advanced Package Tool. Let’s learn the sudo apt update command in detail first.Īs you’re trying to add or modify packages, you need to have root privileges.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |