{"id":139390,"date":"2024-10-19T09:09:54","date_gmt":"2024-10-19T09:09:54","guid":{"rendered":"https:\/\/linuxiac.com\/?p=139390"},"modified":"2024-10-19T09:10:06","modified_gmt":"2024-10-19T09:10:06","slug":"how-to-install-google-chrome-on-arch-linux","status":"publish","type":"post","link":"https:\/\/linuxiac.com\/how-to-install-google-chrome-on-arch-linux\/","title":{"rendered":"How to Install Google Chrome on Arch Linux"},"content":{"rendered":"\n<p>So, <a href=\"https:\/\/linuxiac.com\/arch-linux-install\/\">you&#8217;ve installed Arch<\/a>\u2014congratulations on that! One of the first things many users do after setting it up is installing a web browser. For a long time, Google Chrome has been the go-to choice for many people.<\/p>\n\n\n\n<p>Naturally, many Arch users want to install it, too. However, there&#8217;s a small challenge\u2014Chrome isn\u2019t available in the official Arch repositories. The reason for this is simple &#8211; since Google Chrome is closed-source, it is not included in the official Arch repositories when prioritized software is open-source.<\/p>\n\n\n\n<p>But there&#8217;s no room for worry because Chrome is available in Arch&#8217;s AUR (<a href=\"https:\/\/aur.archlinux.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Arch User Repository<\/a>), a great collection of user-contributed and supported software that sets Arch apart from other Linux distributions. Now, I&#8217;ll show you how easy it is to install, and it will only take a few minutes. So, let&#8217;s jump right in!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Chrome Browser on Arch Linux<\/h2>\n\n\n\n<p>There are two options for installing Google Chrome on your Arch system: using an AUR helper or installing the browser directly. I highly recommend taking the first approach, and here\u2019s why.<\/p>\n\n\n\n<p>An AUR helper is a simple program that makes it easy to manage software packages from the AUR repository (installing, updating, and removing) with a single command. Think of it as your gateway to a vast collection of software available in the Arch&#8217;s AUR. Once installed, you can bet on it to access and manage any software from AUR.<\/p>\n\n\n\n<p>However, suppose you decide to install Chrome manually without using the AUR helper. In that case, you\u2019ll have to repeat the process for every other software you want from AUR, including manual updates (recompiling the software). In practice, almost all Arch users rely on an AUR helper to handle software from AUR efficiently.<\/p>\n\n\n\n<p>Now that we&#8217;ve clarified those points, it&#8217;s time to start. You&#8217;re just one step away from installing Google Chrome on your Arch system.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Installing Chrome Using AUR Helper<\/h3>\n\n\n\n<p>Several AUR helpers are available, but one of the most popular and commonly used by Arch users, including myself, is <strong>yay<\/strong> (Yet Another Yogurt), an AUR helper written in Go. To install it, simply run the following four commands in order.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">sudo pacman -S git base-devel\ngit <span class=\"hljs-built_in\">clone<\/span> https:\/\/aur.archlinux.org\/yay.git\n<span class=\"hljs-built_in\">cd<\/span> yay\nmakepkg -si<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Everything will be set up in just 1-2 minutes, and the AUR helper will be installed and ready to go!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-01.jpg\"><img decoding=\"async\" width=\"1024\" height=\"703\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-01-1024x703.jpg\" alt=\"Installing the yay AUR helper on Arch Linux.\" class=\"wp-image-139429\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-01-1024x703.jpg 1024w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-01-380x261.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-01-768x527.jpg 768w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-01.jpg 1114w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Installing the yay AUR helper on Arch Linux.<\/figcaption><\/figure>\n\n\n\n<p>Now, you can safely exit the &#8220;<em>yay<\/em>&#8221; directory and delete it without any worries, as you no longer need it.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\"><span class=\"hljs-built_in\">cd<\/span> ..\nrm -rf yay\/<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>And we get to the beauty and convenience that <code>yay<\/code> offers: We install the Google Chrome web browser on our Arch Linux system with just one short command.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">yay -S google-chrome<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>As the helper works, you\u2019ll be asked to choose between a few options. Simply press &#8220;<em>Enter<\/em>&#8221; to accept the default ones. In about a minute, Google Chrome will be installed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-02.jpg\"><img decoding=\"async\" width=\"1024\" height=\"703\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-02-1024x703.jpg\" alt=\"Google Chrome has been successfully installed on Arch Linux.\" class=\"wp-image-139441\" style=\"object-fit:cover\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-02-1024x703.jpg 1024w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-02-380x261.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-02-768x527.jpg 768w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-02.jpg 1114w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Google Chrome has been successfully installed on Arch Linux.<\/figcaption><\/figure>\n\n\n\n<p>That&#8217;s all friends. Simply launch the browser via your desktop environment&#8217;s app launcher and enjoy a smooth and hassle-free web browsing experience.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-03.jpg\"><img decoding=\"async\" width=\"1013\" height=\"269\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-03.jpg\" alt=\"Launching Google Chrome.\" class=\"wp-image-139453\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-03.jpg 1013w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-03-380x101.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-03-768x204.jpg 768w\" sizes=\"(max-width: 1013px) 100vw, 1013px\" \/><\/a><figcaption class=\"wp-element-caption\">Launching Google Chrome.<\/figcaption><\/figure>\n\n\n\n<p>The first time you start Chrome, you\u2019ll have the chance to make it your default browser. You can also choose to \u201c<em>Automatically send usage statistics and crash reports to Google<\/em>.\u201d It is up to you whether you want to enable this or not.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-05.jpg\"><img decoding=\"async\" width=\"976\" height=\"269\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-05.jpg\" alt=\"Google Chrome initial settings.\" class=\"wp-image-139456\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-05.jpg 976w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-05-380x105.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-05-768x212.jpg 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/a><figcaption class=\"wp-element-caption\">Google Chrome initial settings.<\/figcaption><\/figure>\n\n\n\n<p>When you&#8217;re done, hit &#8220;<em>OK<\/em>.&#8221; Google Chrome will start. Enjoy it!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-04.jpg\"><img decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-04-1024x640.jpg\" alt=\"Google Chrome web browser running on Arch Linux.\" class=\"wp-image-139459\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-04-1024x640.jpg 1024w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-04-380x238.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-04-768x480.jpg 768w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-04-1536x960.jpg 1536w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-04.jpg 1680w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Google Chrome web browser running on Arch Linux.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Install Chrome on Arch Manually (Without AUR Helper)<\/h3>\n\n\n\n<p>If you want to manually install Google Chrome from AUR without an AUR helper, type the following three commands in the terminal:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">git <span class=\"hljs-built_in\">clone<\/span> https:\/\/aur.archlinux.org\/google-chrome.git\n<span class=\"hljs-built_in\">cd<\/span> google-chrome\nmakepkg -si<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Let me explain what this does. First, it downloads the PKGBUILD for Google Chrome from AUR. If you are unfamiliar with the concept, I just want to clarify that this is a script file used in Arch, which contains instructions on how to build packages from source.<\/p>\n\n\n\n<p>Then, the <code>makepkg<\/code> <span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">command is used to build the package itself, using the instructions specified in the abovemen<\/span>tioned\u00a0PKGBUILD\u00a0file.<\/p>\n\n\n\n<p>After compiling, <code>makepkg<\/code> packages the software into an installable file (with the extension \u201c<em>.pkg.tar. zest<\/em>\u201d used in Arch), which can then be installed using <code>pacman<\/code>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>-s<\/strong>: Automatically resolve and install build dependencies.<\/li>\n\n\n\n<li><strong>-i<\/strong>: Automatically install the package after building.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-06.jpg\"><img decoding=\"async\" width=\"1012\" height=\"509\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-06.jpg\" alt=\"Installing Google Chrome on Arch manually.\" class=\"wp-image-139651\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-06.jpg 1012w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-06-380x191.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2024\/10\/arch-install-chrome-06-768x386.jpg 768w\" sizes=\"(max-width: 1012px) 100vw, 1012px\" \/><\/a><figcaption class=\"wp-element-caption\">Installing Google Chrome on Arch manually.<\/figcaption><\/figure>\n\n\n\n<p>And that&#8217;s it\u2014Google Chrome is now installed on your Arch Linux system. However, I strongly reccomend using an AUR helper instead of manually installing it as we did.<\/p>\n\n\n\n<p>Beyond the convenience, the main reason is that you&#8217;ll have to go through the entire installation process again to update this package.<\/p>\n\n\n\n<p>Although this might not seem like a big problem for a single piece of software, imagine doing it for 100 or more AUR packages. It would become a hassle quickly!<\/p>\n\n\n\n<p>In contrast, using the AUR helper, you can simply run &#8220;<em>yay -Sua<\/em>,&#8221; and it will automatically rebuild and install all AUR packages on your system with available updates. Doesn&#8217;t that sound more than great?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Following the steps outlined in this guide, you can quickly have Google Chrome up and running on your\u00a0<a href=\"https:\/\/linuxiac.com\/archlinux\/\" target=\"_blank\" rel=\"noreferrer noopener\">Arch Linux<\/a>\u00a0system and benefit from its features and compatibility.<\/p>\n\n\n\n<p>However, if you want a more detailed overview of using the AUR repository, don\u2019t worry! Check out our &#8220;<a href=\"https:\/\/linuxiac.com\/how-to-install-aur-packages-in-arch-linux\/\">How to Install AUR Packages in Arch Linux<\/a>&#8221; guide. Want to become a real wizard using the Pacman package manager? Again, <a href=\"https:\/\/linuxiac.com\/how-to-use-pacman-to-manage-software-on-arch-linux\/\">we&#8217;ve got you covered<\/a>.<\/p>\n\n\n\n<p>But wait, there&#8217;s more. You know you can handle Pacman and Yay without even touching the command line\u2014<a href=\"https:\/\/linuxiac.com\/best-pacman-gui-frontends-for-arch-linux\/\">that&#8217;s how<\/a>. Well, I think that&#8217;s enough for now.<\/p>\n\n\n\n<p>Thanks for your time! As always, any suggestions and comments are highly welcome in the section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to install the Google Chrome web browser on Arch Linux? Our clearly explained, tested &#038; proven step-by-step guide will help you.<\/p>\n","protected":false},"author":10,"featured_media":139393,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,4417],"tags":[4264,4487,4439,2015,5046],"class_list":["post-139390","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-linux-knowledge","tag-arch-linux","tag-aur","tag-chrome","tag-pacman","tag-yay"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/posts\/139390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/comments?post=139390"}],"version-history":[{"count":0,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/posts\/139390\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/media\/139393"}],"wp:attachment":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/media?parent=139390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/categories?post=139390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/tags?post=139390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}