![]() If you are looking for some quiet reading time, then skip the video and read on! How Do Commands Work?įor those of you who love learning via videos, here is one we made to explain this concept! Let us start with the following question. So I decided to put together everything I learned into this article so that you will have a much easier time understanding these concepts! I had to scour the internet and its forums for hours and hours to find the right information to understand what was going on back then as there was no “single” resource that answered all of my questions! I guess to beginners, it just feels like a magic spell to get our favorite software installed!Īs time went on, so many of my Google searches led to using very similar patterns of “apt update” and “apt upgrade” commands to install stuff and my curiosity got the better of me, which inspired me to learn what these commands do and what happens in the background when you execute these commands. I did not pay much attention to what I actually typed in. I was just happy that I was able to type something in the Terminal and see it actually working! When I was a complete beginner and I needed to install something on my Ubuntu machine, I went online and typed in “ How to install on Ubuntu” and it usually led me to a page with some commands which looked like this sudo apt update ![]() The rest of this article is dedicated to those of you in the first steps of your journey to becoming a Linux Expert!īy the time you reach the end of this article, I suggest you come back and read this summary once more, I assure you it will make much more sense then!Ĩ Related Articles apt update vs apt upgrade: A Thorough Explanation That’s “ apt update vs apt upgrade” in a nutshell!ĭon’t worry if the above answer does not make sense to you as that was targeted at more experienced programmers who just wanted to refresh their memories. You can think of the apt update command as a button that refreshes the list of available versions and the apt upgrade as a button that updates all the installed software to the versions listed in the “available version” column! The simplified version is presented in the picture below. This database contains a list of all the software packages installed in our systems with their present versions and the latest versions available in the cloud. The “database” referred to in the first line in the table above refers to the database maintained by the Apt package manager. The table below explains the same without so much jargon! “apt upgrade” upgrades all the packages presently installed in our Linux system to their latest available versions.“apt update” updates the package sources list to get the latest list of available packages in the repositories.What is the difference between apt update and apt upgrade? This article is all about demystifying the commands “ apt update” and “ apt upgrade” and their differences!įor those of you in a hurry, here is the “Short Version” of the answer! apt update vs apt upgrade: In a Nutshell
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |