Skip to content

Commit 6bba1dd

Browse files
committed
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.
1 parent 82a973c commit 6bba1dd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ sudo dnf install wget git python3 gperftools-libs libglvnd-glx
126126
# openSUSE-based:
127127
sudo zypper install wget git python3 libtcmalloc4 libglvnd
128128
# Arch-based:
129-
sudo pacman -S wget git python3
129+
sudo pacman -S --needed wget git python3 base-devel
130130
```
131131
If your system is very new, you need to install python3.11 or python3.10:
132132
```bash
@@ -136,7 +136,10 @@ sudo apt update
136136
sudo apt install python3.11
137137

138138
# Manjaro/Arch
139-
sudo pacman -S yay
139+
git clone https://aur.archlinux.org/yay.git
140+
cd yay
141+
makepkg -si
142+
cd ..
140143
yay -S python311 # do not confuse with python3.11 package
141144

142145
# Only for 3.11

0 commit comments

Comments
 (0)