Skip to content

Conversation

@Dexter2038
Copy link

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.

Description

Fix incorrect yay installation instructions for Arch Linux

The current documentation suggests sudo pacman -S yay,
which fails because yay is not in the official Arch repositories (it's only available in AUR).

Changes:

  • Removed incorrect sudo pacman -S yay line
  • Added proper AUR installation: git clone + makepkg
  • Added base-devel to system dependencies (required for AUR builds)
  • Added --needed flag to avoid reinstalling existing packages

Tested successfully on my Arch Linux system.

Screenshots/videos:

Terminal output verifying the corrected installation steps work:
result

Checklist:

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant