Created
September 4, 2021 01:05
-
-
Save kaubu/1be1f7bfffe0b0b6081ec409b737741b to your computer and use it in GitHub Desktop.
Install yay on Arch
This file contains 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
#!/bin/bash | |
# Install yay on Arch | |
echo "Current username: " | |
read username | |
sudo pacman -S base-devel git | |
cd /opt | |
sudo git clone https://aur.archlinux.org/yay.git | |
sudo chown -R $username:users ./yay | |
cd yay | |
makepkg -si |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment