So next time you look at any Linux command don’t let all the jargon overwhelm you as it’s just an app with some buttons!īefore looking at what happens when you click on the update and upgrade buttons, let us first learn how apps are managed in a Linux system with apt. What you are doing is opening an application named apt and clicking the button named update! So when you type in the terminal sudo apt update If apt were a modern-day application, its interface will likely look something like this The structure of these “text-based commands” usually looks like this This interface is called the Command Line Interface (CLI) Nowadays we are all used to applications with fancy graphical user interfaces, with buttons to click and forms to enter data.īut back in the era when graphics hardware was not capable enough to handle fancy graphical user interfaces, people interacted with the computers with simple text-based commands. 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 a video we made to the answer to the question above! Let us start with the following question. Without further ado, let’s begin! The Fundamentals I decided to put together everything I learned into an “easy-to-digest” article so that it can be useful for beginners! 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! You can jump to the section of interest using the table of contents below.Īlso, don’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. Why do we even have full-upgrade if it is not so safe?.How to prevent broken packages when using full-upgrade?.The reason why full-upgrade can require caution is explained in more detail later on in the article where the following questions are addressed During this process, if needed previously installed packages are removed to make the upgrade to the next version of the distribution. The “sudo apt full-upgrade” command is used to download and apply any available updates to your software packages. The 3 points above can be compiled into a short and “jargon-heavy” answer as follows:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |