{"id":2368,"date":"2023-04-06T12:00:48","date_gmt":"2023-04-06T12:00:48","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=2368"},"modified":"2023-06-06T07:00:32","modified_gmt":"2023-06-06T07:00:32","slug":"sudo-apt-get-update-do-ubuntu","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/","title":{"rendered":"What Does sudo apt-get update Command do in Ubuntu?"},"content":{"rendered":"<p>Are you new to the Linux operating system and wondering what most commands do? Especially the command \u201c<strong>sudo apt-get update<\/strong>\u201d is used in almost every tutorial you find online. If that is the case, you are in the right place.<\/p>\n<p>This guide will teach you the purpose and use of the sudo apt-get update command in Ubuntu\/Linux. So, let\u2019s get started!<\/p>\n<h2 id=\"the-purpose-of-the-apt-get-update-command\">The Purpose of the apt-get update Command<\/h2>\n<p>The \u201c<strong>apt-get update<\/strong>\u201d command is used to check all entries of the \u201capt\u201d packages list to see if any update is available for any package from all of the sources that are added to the \u201csource\u201d list. However, the prefix <strong>sudo<\/strong> is used to utilize administrator rights while trying to execute this command.<\/p>\n<p>However, unlike other operating systems, \u201cupdate\u201d doesn\u2019t mean it will start updating the packages to their latest version. It will only update the list, which contains information about the version of the packages, their dependencies, their work environment, and more.<\/p>\n<h2 id=\"how-to-use-the-sudo-apt-get-update-command-in-ubuntu\">How to use the sudo apt-get update Command in Ubuntu?<\/h2>\n<p>To run this command or to update the packages list, simply open up a terminal in Ubuntu by right-clicking:<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2369 size-full\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/1-1.png\" alt=\"Dracula Servers | What Does sudo apt-get update Command do in Ubuntu?\" width=\"938\" height=\"558\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/1-1.png 938w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/1-1-300x178.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/1-1-768x457.png 768w\" sizes=\"auto, (max-width: 938px) 100vw, 938px\" \/><\/a><\/p>\n<p>After that, type the command in the terminal and hit the enter key, and the terminal will show you the following prompt:<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2370 size-full\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/2-1.png\" alt=\"Dracula Servers | What Does sudo apt-get update Command do in Ubuntu?\" width=\"824\" height=\"344\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/2-1.png 824w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/2-1-300x125.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/2-1-768x321.png 768w\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" \/><\/a><\/p>\n<p>As you can see, it is asking for the root user&#8217;s password. Provide that and hit the \u201cEnter\u201d key again to start the updating process:<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2371 size-full\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/3-1.png\" alt=\"Dracula Servers | What Does the sudo apt-get update Command do in Ubuntu?\" width=\"766\" height=\"333\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/3-1.png 766w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/3-1-300x130.png 300w\" sizes=\"auto, (max-width: 766px) 100vw, 766px\" \/><\/a><\/p>\n<p>Running this command for the first time on your Ubuntu\/Linux Installation might take a little while. However, once it is done, you will see the following output on the terminal:<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2372 size-full\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/4-1.png\" alt=\"Dracula Servers | What Does sudo apt-get update Command do in Ubuntu?\" width=\"748\" height=\"229\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/4-1.png 748w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/4-1-300x92.png 300w\" sizes=\"auto, (max-width: 748px) 100vw, 748px\" \/><\/a><\/p>\n<p>This means that the apt packages list is fully up-to-date. However, let\u2019s address more information regarding the sudo apt-get update command.<\/p>\n<h2 id=\"what-is-apt-in-the-sudo-apt-get-command\">What is \u201capt\u201d in the sudo apt-get Command?<\/h2>\n<p>Most new beginners are confused about this command because the word \u201c<strong>apt<\/strong>\u201d is often used in Ubuntu commands. Well, to put it short, apt is a package manager in Ubuntu. That is why the apt package list keeps the information about all the packages so that the apt tool can perform actions on those packages according to the user&#8217;s requirements.<\/p>\n<h2 id=\"where-are-the-sources-for-packages-defined\">Where are the Sources for Packages Defined?<\/h2>\n<p>The sources are configured in the \u201c<strong>\/etc\/apt\/sources.list<\/strong>\u201d which is placed in the \u201c\/etc\/apt\/sources.list<strong>.d<\/strong>\u201d directory.<\/p>\n<p>To view the sources file in your Ubuntu Installation, you can run the following command in the terminal:<\/p>\n<pre>cat \/etc\/apt\/sources.list<\/pre>\n<p>Running this command will show the following output on the terminal:<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2373 size-full\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/5-1.png\" alt=\"Dracula Servers | What Does sudo apt-get update Command do in Ubuntu?\" width=\"975\" height=\"594\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/5-1.png 975w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/5-1-300x183.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/5-1-768x468.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/a><\/p>\n<p>These are all of the sources that will be checked for any new version of installed packages. But you might have seen the &#8220;apt update&#8221; command instead of the &#8220;apt-get&#8221; update. Let&#8217;s talk about their difference.<\/p>\n<h2 id=\"what-is-the-difference-between-apt-get-update-and-apt-update\">What is the difference between <a href=\"https:\/\/linux.die.net\/man\/8\/apt-get\">apt-get<\/a> update and apt update?<\/h2>\n<p>There is practically no difference between the main purpose of the \u201capt-get update\u201d command and the \u201capt update\u201d command. The only difference is the information displayed on the terminal after updating the apt packages list.<\/p>\n<p>The \u201c<strong>apt update<\/strong>\u201d command shows the total number of packages that can be upgraded and the command to execute if the user wishes to upgrade those packages. On the other hand, the \u201c<strong>apt-get update<\/strong>\u201d command doesn\u2019t show any additional information. Rather it simply displayed that the apt packages list had been successfully updated.<\/p>\n<p>Now, you are even familiar with the almost identical commands that confuse the minds of many new Ubuntu Users. However, there is still an unattended question: When should you run the apt-get update command?<\/p>\n<h2 id=\"when-to-run-the-sudo-apt-get-update-command\">When to run the \u201csudo apt-get update\u201d Command?<\/h2>\n<p>The apt update command should be run periodically in a Linux-based operating system that uses the Advanced Package Tool (APT) for package management. This command retrieves the latest package information from the configured repositories and updates the local cache, allowing the system to know about the latest software packages and their dependencies.&#8221;<\/p>\n<p>The <strong>apt update<\/strong> command is <strong>essential before installing new software<\/strong> or <strong>updating existing packages<\/strong>. This ensures that the system has the latest information about available packages and their dependencies, which helps prevent any issues arising from outdated package information.<\/p>\n<p>It is recommended to run an \u201c<strong>apt update\u201d at least once a day<\/strong> to ensure that the system stays up to date with the latest software packages and security updates. However, depending on the use case and the frequency of software updates in the configured repositories, it may be necessary to run the command more frequently.<\/p>\n<p>Now you know what this command does, but how do you update a package to a new version in Ubuntu?<\/p>\n<h2 id=\"how-to-update-a-package-in-ubuntu\">How to Update a Package in Ubuntu?<\/h2>\n<p>To update a package in Ubuntu, you must utilize the \u201c<strong>upgrade<\/strong>\u201d command. However, the upgrade command is used after updating the apt packages list. To upgrade, type the following command in the terminal:<\/p>\n<pre>sudo apt-get upgrade<\/pre>\n<p>The terminal will ask you for the root pass. After you have provided the password, it will show the following output:<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2374 size-full\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/6-1.png\" alt=\"Dracula Servers | What Does sudo apt-get update Command do in Ubuntu?\" width=\"968\" height=\"181\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/6-1.png 968w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/6-1-300x56.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/6-1-768x144.png 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/a><\/p>\n<p>As you can see in the above output image, the system is asking for confirmation to download and install packages. Therefore, type \u201c<strong>Y<\/strong>\u201d and press the \u201c<strong>Enter<\/strong>\u201d key to start the upgradation process.<\/p>\n<h2 id=\"dracula-vps-hosting-service\">Dracula VPS Hosting Service<\/h2>\n<p><a href=\"http:\/\/draculaservers.com\"><span style=\"font-weight: 400;\">Dracula Servers<\/span><\/a><span style=\"font-weight: 400;\"> offers high-performance server hosting at entry-level prices. The plans include Linux VPS, Sneaker Servers, Dedicated Servers &amp; turnkey solutions. If you&#8217;re looking for quality self-managed servers with high amounts of RAM and storage, look no further.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Check the plans for yourself by clicking <\/span><a href=\"https:\/\/draculaservers.com\/#pick-plan\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Here<\/span><\/a><span style=\"font-weight: 400;\">!<\/span><\/p>\n<h2 id=\"how-to-fix-could-not-get-lock-var-lib-dpkg-lock-frontend\">How to fix \u201cCould not get lock \/var\/lib\/dpkg\/lock-frontend\u201d?<\/h2>\n<p>Often, when a user is trying to upgrade the packages on his Ubuntu Installation, he is met with the following error. This error simply means that some other process uses the system to perform an update. And the program that is using the system is also mentioned in the error statement shown:<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2375 size-full\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/7-1.png\" alt=\"Dracula Servers | What Does sudo apt-get update Command do in Ubuntu?\" width=\"975\" height=\"178\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/7-1.png 975w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/7-1-300x55.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/7-1-768x140.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/a><\/p>\n<p>To fix this error, simply use the \u201c<strong>kill<\/strong> <strong>-9<\/strong>\u201d command followed by the process ID mentioned in the error statement. For the above example, the kill command will be as follows:<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2376 size-full\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/8-1.png\" alt=\"Dracula Servers | What Does sudo apt-get update Command do in Ubuntu?\" width=\"496\" height=\"45\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/8-1.png 496w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/8-1-300x27.png 300w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/a><\/p>\n<p>Once that is done, run the command that caused this error, and it will execute without interruptions.<\/p>\n<h2 id=\"is-it-safe-to-interrupt-the-apt-update-command\">Is it safe to Interrupt the \u201capt update\u201d Command?<\/h2>\n<p>Interrupting the apt update command is generally safe, as <strong>it has no adverse effects on the system<\/strong>. This command aims to update the package index, which is a local cache of available packages and their versions in the repositories that have been configured. It is important to note that this command does not modify or install any packages on the system.<\/p>\n<p>Although <strong>interrupting the apt update command may result in an incomplete or outdated package index<\/strong>, this can be easily <strong>fixed by running the command again later<\/strong>. It is quite common to interrupt an apt update command, especially if it takes a long time to complete or if there is a network interruption or other issue.<\/p>\n<p>However, it is worth noting that <strong>interrupting an apt update command may sometimes leave the package index in an inconsistent state<\/strong>, which can cause issues when installing or upgrading packages on the system. Therefore, ensuring that the apt update command completes successfully before performing any package installations or upgrades is recommended.<\/p>\n<p>That also sums up this post!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you new to the Linux operating system and wondering what most commands do? Especially the command \u201csudo apt-get update\u201d is used in almost every tutorial you find online. If that is the case, you are in the right place. This guide will teach you the purpose and use of the sudo apt-get update command [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2378,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67,1,2,61,22],"tags":[68,111,108,109,110],"class_list":["post-2368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-getting-started","category-linux-basics","category-linux-commands","category-ubuntu","tag-debian","tag-linux-tutorials","tag-ubuntu-basics","tag-ubuntu-commands","tag-ubuntu-update"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512.png",1024,512,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512-300x150.png",300,150,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512-768x384.png",768,384,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512.png",1024,512,false],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512.png",1024,512,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512.png",1024,512,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>Are you new to the Linux operating system and wondering what most commands do? Especially the command \u201csudo apt-get update\u201d is used in almost every tutorial you find online. If that is the case, you are in the right place. This guide will teach you the purpose and use of the sudo apt-get update command in Ubuntu\/Linux. So, let\u2019s get started! The Purpose of the apt-get update Command The \u201capt-get update\u201d command is used to check all entries of the \u201capt\u201d packages list to see if any update is available for any package from all of the sources that are&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/debian\/\" rel=\"category tag\">Debian<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/getting-started\/\" rel=\"category tag\">Getting Started<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-basics\/\" rel=\"category tag\">Linux Basics<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-commands\/\" rel=\"category tag\">Linux Commands<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/ubuntu\/\" rel=\"category tag\">Ubuntu<\/a>","author_info_v2":{"name":"Abdul Mannan","url":"https:\/\/draculaservers.com\/tutorials\/author\/abdul-mannan-tbgmail-com\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What Does sudo apt-get update Command do in Ubuntu? - Dracula Servers Tutorials<\/title>\n<meta name=\"description\" content=\"The sudo apt-get update command is used to update the APT packages list in Ubuntu. Read this guide to learn more Details!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Does sudo apt-get update Command do in Ubuntu? - Dracula Servers Tutorials\" \/>\n<meta property=\"og:description\" content=\"The sudo apt-get update command is used to update the APT packages list in Ubuntu. Read this guide to learn more Details!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-06T12:00:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-06T07:00:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abdul Mannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abdul Mannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/\"},\"author\":{\"name\":\"Abdul Mannan\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\"},\"headline\":\"What Does sudo apt-get update Command do in Ubuntu?\",\"datePublished\":\"2023-04-06T12:00:48+00:00\",\"dateModified\":\"2023-06-06T07:00:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/\"},\"wordCount\":1208,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/sudo-aptget-update-Command-1024-512.png\",\"keywords\":[\"Debian\",\"Linux Tutorials\",\"Ubuntu Basics\",\"Ubuntu Commands\",\"Ubuntu Update\"],\"articleSection\":[\"Debian\",\"Getting Started\",\"Linux Basics\",\"Linux Commands\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/\",\"name\":\"What Does sudo apt-get update Command do in Ubuntu? - Dracula Servers Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/sudo-aptget-update-Command-1024-512.png\",\"datePublished\":\"2023-04-06T12:00:48+00:00\",\"dateModified\":\"2023-06-06T07:00:32+00:00\",\"description\":\"The sudo apt-get update command is used to update the APT packages list in Ubuntu. Read this guide to learn more Details!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/sudo-aptget-update-Command-1024-512.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/sudo-aptget-update-Command-1024-512.png\",\"width\":1024,\"height\":512,\"caption\":\"Dracula Servers | What Does sudo apt-get update Command do in Ubuntu?\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/sudo-apt-get-update-do-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Does sudo apt-get update Command do in Ubuntu?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\",\"name\":\"Abdul Mannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"caption\":\"Abdul Mannan\"},\"description\":\"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Does sudo apt-get update Command do in Ubuntu? - Dracula Servers Tutorials","description":"The sudo apt-get update command is used to update the APT packages list in Ubuntu. Read this guide to learn more Details!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"What Does sudo apt-get update Command do in Ubuntu? - Dracula Servers Tutorials","og_description":"The sudo apt-get update command is used to update the APT packages list in Ubuntu. Read this guide to learn more Details!","og_url":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2023-04-06T12:00:48+00:00","article_modified_time":"2023-06-06T07:00:32+00:00","og_image":[{"width":1024,"height":512,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512.png","type":"image\/png"}],"author":"Abdul Mannan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abdul Mannan","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/"},"author":{"name":"Abdul Mannan","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6"},"headline":"What Does sudo apt-get update Command do in Ubuntu?","datePublished":"2023-04-06T12:00:48+00:00","dateModified":"2023-06-06T07:00:32+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/"},"wordCount":1208,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512.png","keywords":["Debian","Linux Tutorials","Ubuntu Basics","Ubuntu Commands","Ubuntu Update"],"articleSection":["Debian","Getting Started","Linux Basics","Linux Commands","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/","url":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/","name":"What Does sudo apt-get update Command do in Ubuntu? - Dracula Servers Tutorials","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512.png","datePublished":"2023-04-06T12:00:48+00:00","dateModified":"2023-06-06T07:00:32+00:00","description":"The sudo apt-get update command is used to update the APT packages list in Ubuntu. Read this guide to learn more Details!","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2023\/04\/sudo-aptget-update-Command-1024-512.png","width":1024,"height":512,"caption":"Dracula Servers | What Does sudo apt-get update Command do in Ubuntu?"},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/sudo-apt-get-update-do-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"What Does sudo apt-get update Command do in Ubuntu?"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6","name":"Abdul Mannan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","caption":"Abdul Mannan"},"description":"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot."}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=2368"}],"version-history":[{"count":3,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2368\/revisions"}],"predecessor-version":[{"id":2535,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/2368\/revisions\/2535"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/2378"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=2368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=2368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=2368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}