Sudo apt update vs sudo apt upgrade12/7/2023 Now that we have covered the fundamentals let’s get back to the topic! What is the difference between apt and apt-get? So let us begin by having a little fun and uncover the true nature of the command line interface! The rest of this article is dedicated to those of you in the first steps of your journey to becoming a Linux master! You can remember which is which by thinking “ apt” is shorter to type as compared to “ apt-get” and hence “ apt” is more useful in the command-line interface where we have to type things manually every time!ĭ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. The table below highlights their differences What is the difference between the commands “ apt update” and “ apt-get update“? Both these commands are used to download and update the package information from all of the configured sources, the difference is “apt-get” is old and is meant to be used with scripts while “apt” is newer and meant to be used in the command line interface.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |