This commit is contained in:
2026-04-27 01:30:33 +02:00
parent 9e29b8b096
commit 49e7930541
80 changed files with 924 additions and 703 deletions

View File

@@ -3,7 +3,8 @@ title: Install yay
tags:
- distros
- arch
requirements: [ "pacman" ]
requires:
- distros/arch/basic_install.md
---
```sh
@@ -17,14 +18,14 @@ The flags are mostly the same as in `pacman`.
But running `yay` without flags will do the update like `yay -Syu` and with package name it will search packages in the AUR and `pacman` repos, and let you choose which to install.
```sh
yay <search_term>
yay ${search_term}
```
Building the package can usually take some time, and after the build it will ask for the `sudo` password.
If you leave, the installation will fail.
To avoid this, you can use the flag `--sudoloop` and enter the sudo password initially and it will loop it until the installation is finished.
To avoid this, you can use the flag `--sudoloop` and enter the `sudo` password initially and it will loop it until the installation is finished.
```sh
yay -S --noconfirm --sudoloop <package_name>
yay -S --noconfirm --sudoloop ${package_name}
```