{"id":10793,"date":"2023-11-01T20:14:08","date_gmt":"2023-11-01T19:14:08","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=10793"},"modified":"2023-12-02T21:44:51","modified_gmt":"2023-12-02T20:44:51","slug":"yay-aur-helper-fuer-arch-linux-und-darauf-basierende-distributionen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/11\/01\/yay-aur-helper-fuer-arch-linux-und-darauf-basierende-distributionen\/","title":{"rendered":"YAY &#8211; AUR-Helper f\u00fcr Arch Linux und darauf basierende Distributionen"},"content":{"rendered":"\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Beschreibung<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8222;<strong>yay<\/strong>&#8220; ist ein sogenannter <em><strong>Helper<\/strong><\/em> unter Arch Linux und darauf basierende Distributionen wie etwa <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/07\/endeavour-os\/\" data-type=\"link\" data-id=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/07\/endeavour-os\/\">EndeavourOS<\/a>, <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/04\/arcolinux\/\" data-type=\"link\" data-id=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/04\/arcolinux\/\">ArcoLinux<\/a> oder auch <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/22\/mabox-manjaro-mit-openbox-und-mehr\/\" data-type=\"link\" data-id=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/22\/mabox-manjaro-mit-openbox-und-mehr\/\">Mabox<\/a>. Grob gesagt, ein AUR-Assistent, der entwickelt wurde, um die Installation von Software aus dem <em>Arch User Repository (AUR)<\/em> zu erleichtern.<br>Das Arch User Repository ist ein von der Community betriebenes Paket-Repository, das von Arch-Benutzern wiederum f\u00fcr Arch-Benutzer entwickelt wurde.                                 Der Paketmanager Pacman selbst hat keinen Zugriff auf das AUR.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">yay erm\u00f6glicht es Benutzern, Software aus dem AUR herunterzuladen, zu kompilieren und zu installieren. Es ist eine Alternative zu anderen AUR-Helfern wie Paru und Pacaur. yay erm\u00f6glicht auch das Entfernen unerw\u00fcnschter Abh\u00e4ngigkeiten, den Abruf von Paketstatistiken und des Systemzustands.<br>Sie k\u00f6nnen damit auch alle andere Anwendungen aus dem regul\u00e4ren Repository installieren sowie das komplette System auf aktuellen Stand bringen und halten.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Installation<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unter EndeavourOS und Mabox ist yay bereits vorinstalliert und steht sofort nach dem ersten Neustart zur Verf\u00fcgung.<br>ArcoLinux bietet ein vereinfachtes Hinzuf\u00fcgen per H\u00e4kchen-Auswahl w\u00e4hrend des Installationsprozesses.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anders sieht es bei Arch Linux aus. Hier muss yay etwas umst\u00e4ndlich per Terminal installiert werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mit folgenden Befehl wird Arch Linux auf aktuellen Stand gebracht:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>sudo pacman -Syu<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nun installieren wir die erforderlichen <em>base-devel<\/em> und <em>git<\/em>&#8230;<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>sudo pacman -S --needed base-devel git<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Folgender Befehl klont das YAY-Repository:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>git clone https:\/\/aur.archlinux.org\/yay.git<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir wechseln nun in das geklonte Verzeichnis:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>cd yay<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nun wird das Paket erstellt und installiert:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>makepkg -si<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Folgen Sie jeweils den Anweisungen und best\u00e4tigen die Abfragen mit Eingabe von:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>Y<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Anwendungsbeispiele mit entsprechender Syntax<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Suche von Anwendungen:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>yay &#91;paketname]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Beispiel: simple-scan<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>yay simple-scan<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/yay-2.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"894\" height=\"218\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/yay-2.jpg\" alt=\"\" class=\"wp-image-10801\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/yay-2.jpg 894w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/yay-2-300x73.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/yay-2-150x37.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/yay-2-768x187.jpg 768w\" sizes=\"auto, (max-width: 894px) 100vw, 894px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>YAY &#8211; AUR-Helper<\/strong><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Gefundene Treffer werden nummeriert aufgelistet. Zur Installation geben Sie entsprechende Nummer Ihrer Auswahl ein, klicken auf Enter und folgen den Anweisungen. Im Beispiel w\u00e4re <strong><em>1<\/em><\/strong> die passende L\u00f6sung.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ist die Bezeichnung der Anwendung bekannt, kann mit folgenden Befehl direkt installiert werden:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>yay -S &#91;paketname]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Im Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>yay -S simple-scan<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Das Entfernen von Anwendungen gelingt hiermit:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>yay -R &#91;paketname]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Im Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>yay -R simple-scan<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Um ein Paket mit seinen Abh\u00e4ngigkeiten zu deinstallieren, verwenden Sie folgende Syntax:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>yay -Rns &#91;paketname]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Als Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>yay -Rns simple-scan<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ein Upgrade ausschlie\u00dflich von AUR-Paketen erreichen Sie hiermit:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>yay -Sua<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ein Update des kompletten Systems wird mit folgenden Befehl angesto\u00dfen:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>yay<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/upgrade.jpg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"682\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/upgrade.jpg\" alt=\"\" class=\"wp-image-10807\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/upgrade.jpg 980w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/upgrade-300x209.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/upgrade-150x104.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/11\/upgrade-768x534.jpg 768w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>YAY &#8211; AUR-Helper<\/strong><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nach Passwort-Eingabe wird das System auf aktuellen Stand gebracht, sofern Updates vorliegen. Folgen Sie den weiteren Anweisungen.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Fazit<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">yay ist ein praktischer und unkomplizierter Helfer im Umgang mit Arch Linux sowie auch  seinen Derivaten. Die Installation, Deinstallation und Aktualisierung von Anwendungen &#8211; nicht nur aus dem AUR und <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/09\/chaotic-aur-fuer-arch-basierte-distributionen\/\" data-type=\"link\" data-id=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/09\/chaotic-aur-fuer-arch-basierte-distributionen\/\">Chaotic-AUR<\/a> &#8211; gelingt relativ einfach. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ich pers\u00f6nlich ziehe diese Methode zur Systempflege und Installation \/ Deinstallation von Anwendungen unter Arch Linux via Terminal vor. <em>Pacman<\/em> verwende ich nurmehr selten &#8211; das grafische Pendant <em>Pamac<\/em> \u00fcberhaupt nicht.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Beschreibung &#8222;yay&#8220; ist ein sogenannter Helper unter Arch Linux und darauf basierende Distributionen wie etwa EndeavourOS, ArcoLinux oder auch Mabox. Grob gesagt, ein AUR-Assistent, der entwickelt wurde, um die Installation von Software aus dem Arch User Repository (AUR) zu erleichtern.Das Arch User Repository ist ein von der Community betriebenes Paket-Repository, das von Arch-Benutzern wiederum f\u00fcr [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":10795,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[719,718,720,464],"class_list":["post-10793","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system","tag-arch-linux","tag-aur-helper","tag-helper","tag-yay"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/10793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=10793"}],"version-history":[{"count":12,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/10793\/revisions"}],"predecessor-version":[{"id":11580,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/10793\/revisions\/11580"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/10795"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=10793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=10793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=10793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}