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,7 @@ title: Install Arch
tags:
- arch
requires:
- partitions
- system/partitions.md
---
Keyboard layout changed.

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}
```

View File

@@ -2,7 +2,9 @@
title: Arch Maintenance
tags:
- arch
requirements: [ "pacman" ]
requires:
- pacman
- vim
---
# Package Cache

View File

@@ -2,7 +2,8 @@
title: pacman
tags:
- distros
requirements: [ "Install Arch" ]
requires:
- distros/arch/basic_install.md
---
Packages are kept in /var/cache/pacman/pkg.

View File

@@ -2,7 +2,8 @@
title: pacman - Extras
tags:
- distros
requirements: [ "pacman" ]
requires:
- distros/arch/pacman.md
---
## Unattended Actions
@@ -24,7 +25,7 @@ You can tell `pacman` that this is a dependency for another package:
```sh
pacman -S --noconfirm --asdeps <weird music player>
pacman -S --noconfirm --asdeps ${weird_music_player}
```
When you [remove orphaned packages](pacman.md), the package will be automatically uninstalled.

View File

@@ -1,13 +1,15 @@
---
title: Arch Maintenance with yay
title: Arch maintenance with yay
tags:
- arch
requirements: [ "Arch Maintenance" ]
- maintenance
requires:
- distros/arch/maintenance.md
---
# Package Cache
Just like `pacman`
Just like `[pacman](distros/arch/pacman.md)` with a couple of extras.
```sh
ls ~/.cache/yay/ | wc -l