Created
April 4, 2024 20:18
-
-
Save matheusfaustino/dce9f23a60475ad62a73aadb0fd3d1d8 to your computer and use it in GitHub Desktop.
Install YAY on steam deck commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Allow to write over file system (steam os block) | |
sudo steamos-readonly disable | |
# Ensure we have the keys updated | |
sudo pacman-key --init | |
sudo pacman-key --populate archlinux | |
sudo pacman-key --populate holo | |
sudo pacman -S glibc linux-api-headers | |
# Install git and base-devel dependencies | |
sudo pacman -S --needed git base-devel | |
# Ensure that dependencies get installed correctly (this may be not necessary in some cases) | |
sudo pacman -S git base-devel | |
# When prompted, select all options | |
# INSTALL FROM SOURCE | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
git checkout 17f4503492f5070ebcca58743144773c89099dff # version 12.3.1 (last before pacman 6.1 requirement) | |
makepkg -si | |
# OR INSTALL FROM BINARY | |
# git clone https://aur.archlinux.org/yay-bin.git | |
# cd yay-bin | |
# makepkg -si | |
# Disable again the write over file system | |
sudo steamos-readonly disable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@deckOuser it looks like it could be related to pacman. Try running this to see if it solves:
sudo pacman -S pacman
(https://www.reddit.com/r/SteamDeck/comments/12cwir4/yay_installation_fatal_error_alpmh_not_found/)