{"id":312352,"date":"2021-07-30T20:00:04","date_gmt":"2021-07-30T17:00:04","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-update-arch-linux\/"},"modified":"2021-07-30T20:00:04","modified_gmt":"2021-07-30T17:00:04","slug":"how-to-update-arch-linux","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-update-arch-linux\/","title":{"rendered":"#How to Update Arch Linux"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a41a2c5085a6\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a41a2c5085a6\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-update-arch-linux\/#Apply_a_System_Update_on_Arch_Linux\" >Apply a System Update on Arch Linux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-update-arch-linux\/#How_to_Update_a_Specific_Package_in_Arch_Linux\" >How to Update a Specific Package in Arch Linux<\/a><\/li><\/ul><\/nav><\/div>\n<p><strong>&#8220;#How to Update Arch Linux&#8221;<\/strong><\/p>\n<div>\n<!-- UNCACHED CONTENT --><\/p>\n<figure style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage wp-image-740780 size-full\" srcset=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/07\/arch-linux-pink-white-gradient.jpg?width=398&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 400w, https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/07\/arch-linux-pink-white-gradient.jpg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 1200w\" sizes=\"auto, 400w, 1200w\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/07\/arch-linux-pink-white-gradient.jpg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Arch Linux logo on a pink and white gradient\" width=\"1200\" height=\"675\" data-crediturl=\"https:\/\/ubuntu.com\/\" data-credittext=\"Ubuntu Project\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><figcaption class=\"wp-caption-text\"><span class=\"type:primaryImage imagecredit\"><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/ubuntu.com\/\">Ubuntu Project<\/a><\/span><\/figcaption><\/figure>\n<p>Has the time come to update your Arch Linux system? Whether you\u2019re on pure Arch or an Arch-based distro like Manjaro and Garuda Linux, we\u2019ll show you how to safely update your system with one or two simple commands.<\/p>\n<p>Keeping packages up-to-date is important on any Linux distro. <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/archlinux.org\/\">Arch<\/a> operates on a rolling release model, delivering bleeding-edge updates to your virtual door as soon as they\u2019re ready. Because of that, frequent updates (combined with effective backups) are necessary to avoid a broken system and corrupt packages.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>How to Back Up Your Linux System<\/em><\/strong><\/p>\n<p>Most Arch-based distros use the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/wiki.archlinux.org\/title\/pacman\"><em>pacman<\/em><\/a> package manager to <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">download<\/a> and install updates, a\u00a0 process technically referred to as \u201csyncing.\u201d You\u2019ll use pacman commands to keep your packages synced and operational.<\/p>\n<blockquote class=\"admonishment_note\"><p><strong>Note:<\/strong> Your user account needs sudo access to follow these instructions.<\/p><\/blockquote>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Apply_a_System_Update_on_Arch_Linux\"><\/span>Apply a System Update on Arch Linux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To begin an update of all installed packages, open any\u00a0terminal\u00a0app and pass the following command:<\/p>\n<pre>sudo pacman -Syu<\/pre>\n<p>You\u2019ll be prompted for your password before the command can proceed. This command checks for available updates. If there are any, it will list the packages, along with their new version numbers.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-740774\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/07\/arch-linux-update-command.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Enter &quot;sudo pacman -Syu&quot; in a terminal\" width=\"602\" height=\"222\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>You\u2019ll then be prompted to confirm that you want to apply a full upgrade. Type <code>y<\/code> and hit Enter to confirm, or use <code>n<\/code> to cancel.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-740775\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/07\/arch-linux-update-confirmation.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Type y and hit Enter to confirm update\" width=\"602\" height=\"251\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>If you have packages that you suspect are corrupt, you can force a database download with your update to take care of those issues. Even if no updates are available, pacman will verify the integrity of your currently installed packages. Add a second <code>y<\/code> to the string to make that happen.<\/p>\n<pre>sudo pacman -Syyu<\/pre>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_to_Update_a_Specific_Package_in_Arch_Linux\"><\/span>How to Update a Specific Package in Arch Linux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you only want to update a specific package, use the same command that you used to install it, replacing <code>package_name<\/code> with your choice.<\/p>\n<pre>sudo pacman -S package_name<\/pre>\n<blockquote class=\"admonishment_warning\"><p><strong>Warning:<\/strong> We don\u2019t recommend upgrading specific packages while ignoring other available updates often. Because of Arch\u2019s rolling release process, cherry-picking updates can cause issues.<\/p><\/blockquote>\n<p>If you\u2019re not sure what the name of a package is, you can search your installed packages using the <code>-Qs<\/code> flag.<\/p>\n<pre>pacman -Qs string<\/pre>\n<p>Be sure to replace <code>string<\/code> with your search term. This will search both package names and descriptions, so you should find what you\u2019re looking for easily.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>37 Important Linux Commands You Should Know<\/em><\/strong><\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/740578\/how-to-update-arch-linux\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#How to Update Arch Linux&#8221; Ubuntu Project Has the time come to update your Arch Linux system? Whether you\u2019re on pure Arch or an Arch-based distro like Manjaro and Garuda Linux, we\u2019ll show you how to safely update your system with one or two simple commands. Keeping packages up-to-date is important on any Linux distro&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":312353,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/07\/arch-linux-pink-white-gradient.jpg?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-312352","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/312352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=312352"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/312352\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/312353"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=312352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=312352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=312352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}