REBIRTH
This commit is contained in:
@@ -3,7 +3,7 @@ title: Install Arch
|
||||
tags:
|
||||
- arch
|
||||
requires:
|
||||
- partitions
|
||||
- system/partitions.md
|
||||
---
|
||||
Keyboard layout changed.
|
||||
|
||||
@@ -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}
|
||||
```
|
||||
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
title: Arch Maintenance
|
||||
tags:
|
||||
- arch
|
||||
requirements: [ "pacman" ]
|
||||
requires:
|
||||
- pacman
|
||||
- vim
|
||||
---
|
||||
|
||||
# Package Cache
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user