docs(readme): correct yay installation instructions for Arch Linux

Reason: 'yay' is not in official Arch Linux repositories, so `sudo
pacman -S yay` will fail.

Changes:
- Remove sudo pacman -S yay
- Add proper AUR installation steps
- Add base-devel to pacman command, since it's required for AUR builds
- Add --needed flag to avoid reinstalling existing packages

Tested it on my system and it works.
This commit is contained in:
Dexter2038 2025-10-15 15:42:03 +03:00
parent 82a973c043
commit 6bba1dde29

View file

@ -126,7 +126,7 @@ sudo dnf install wget git python3 gperftools-libs libglvnd-glx
# openSUSE-based:
sudo zypper install wget git python3 libtcmalloc4 libglvnd
# Arch-based:
sudo pacman -S wget git python3
sudo pacman -S --needed wget git python3 base-devel
```
If your system is very new, you need to install python3.11 or python3.10:
```bash
@ -136,7 +136,10 @@ sudo apt update
sudo apt install python3.11
# Manjaro/Arch
sudo pacman -S yay
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd ..
yay -S python311 # do not confuse with python3.11 package
# Only for 3.11