Let us start by exploring the answer to the question “What does apt-get do?” I can see that the above paragraph has too many “technical terms” (which I promised not to use!) but that is just the short version of the answer to explain the command “ sudo apt-get update -y“, so do not worry if you don’t understand every word in that paragraph!īy the end of this article we will get back to this short answer version and by that time I am sure you will be able to understand what every word meant in the short answer above! What is the meaning of the command “ sudo apt-get update -y”? sudo apt-get update is the command used to updates the package index files to get the latest list of available packages in the repositories, the -y option will not do anything as as the apt-get update does not prompt the user for any responses. Let us see what this command does, how it does that, and the reason you need to do this every time you need to install an app on your Linux computer.Īlso let us see what does the -y do in this case and see if that is really necessary! (Spoiler alert: In this case, the -y does not do anything!)įor those of you in a hurry, here is the short version of the answer! The Short Version of the Answer In this article, I have tried to explain what this command means from a beginner’s perspective avoiding unnecessary “technical terms” and I have tried to keep this article concise so that you can get through the entire article in about 10 to 20 mins max! I guess to beginners, it just feels like a magic spell to get something installed! On either cases, I was just happy that I was able to type something in the Terminal and that it actually worked and did what I wanted it to do! I did not pay much attention to what I actually typed in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |