{"id":734,"date":"2023-04-25T16:59:15","date_gmt":"2023-04-25T19:59:15","guid":{"rendered":"https:\/\/freeshell.de\/~felipe\/blog\/?p=734"},"modified":"2024-06-09T15:45:02","modified_gmt":"2024-06-09T18:45:02","slug":"install-and-use-yay-on-arch-linux","status":"publish","type":"post","link":"https:\/\/freeshell.de\/~felipe\/blog\/04\/2023\/general\/install-and-use-yay-on-arch-linux\/","title":{"rendered":"Install and Use yay on Arch Linux"},"content":{"rendered":"\n<p>A AUR helper like yay lets you download and install packages from the Arch User Repository.<\/p>\n\n\n\n<p>Pacman is a powerful package manager that comes default on Arch-based distributions, but lacks the functionality of uploading packages to the Arch User Repository .<br \/>The AUR is a community managed repository providing thousands of third party packages in the form of scripts also known as PKGBUILD.<\/p>\n\n\n\n<p>To install packages using these PKGBUILDs, need an AUR helper like yay.<br \/>yay is not pre-installed on Arch Linux nor is it available in official Arch repositories.<br \/>So how do you install yay to download packages from on your Arch desktop?<br \/>Let&#8217;s find out.<\/p>\n\n\n\n<p>Installing, yay on Arch Linux<\/p>\n\n\n\n<p>The yay package is only available in the Arch User Repository.<br \/>Note that you can manually install packages from the AUR without using an AUR helper, but as its says, an &#8220;AUR helper&#8221; assists you in the process which allows you install more packages easily with minimal user interaction.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo pacman -S --needed base-devel git\ngit clone https:\/\/aur.archlinux.org\/yay.git\ncd yay\nmakepkg -si<\/code><\/pre>\n\n\n\n<p>Then Check the version: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yay --version<\/code><\/pre>\n\n\n\n<p>Then you can install any sort of package: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yay -S google-chrome<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A AUR helper like yay lets you download and install packages from the Arch User Repository. Pacman is a powerful package manager that comes default on Arch-based distributions, but lacks the functionality of uploading packages to the Arch User Repository .The AUR is a community managed repository providing thousands of third party packages in the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71,1,70],"tags":[66,67,69,68],"class_list":["post-734","post","type-post","status-publish","format-standard","hentry","category-arch","category-general","category-linux","tag-arch","tag-linux","tag-pacman","tag-yay"],"_links":{"self":[{"href":"https:\/\/freeshell.de\/~felipe\/blog\/wp-json\/wp\/v2\/posts\/734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/freeshell.de\/~felipe\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/freeshell.de\/~felipe\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/freeshell.de\/~felipe\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/freeshell.de\/~felipe\/blog\/wp-json\/wp\/v2\/comments?post=734"}],"version-history":[{"count":2,"href":"https:\/\/freeshell.de\/~felipe\/blog\/wp-json\/wp\/v2\/posts\/734\/revisions"}],"predecessor-version":[{"id":736,"href":"https:\/\/freeshell.de\/~felipe\/blog\/wp-json\/wp\/v2\/posts\/734\/revisions\/736"}],"wp:attachment":[{"href":"https:\/\/freeshell.de\/~felipe\/blog\/wp-json\/wp\/v2\/media?parent=734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/freeshell.de\/~felipe\/blog\/wp-json\/wp\/v2\/categories?post=734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/freeshell.de\/~felipe\/blog\/wp-json\/wp\/v2\/tags?post=734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}