LinuxSetup/installaur.sh

11 lines
534 B
Bash
Raw Normal View History

2024-08-26 13:08:43 +00:00
#!/bin/bash
distrobox create -n arch -i quay.io/toolbx/arch-toolbox:latest
distrobox enter --name arch -- sudo pacman -Suy
distrobox enter --name arch -- sudo pacman -Sy --needed git base-devel
distrobox enter --name arch -- git clone https://aur.archlinux.org/yay-bin.git ~/Downloads/yay-bin
cd ~/Downloads/yay-bin
2024-09-27 20:34:51 +00:00
distrobox enter --name arch -- makepkg -si
2024-08-26 13:08:43 +00:00
distrobox enter --name arch -- distrobox-export --bin /usr/bin/yay --export-path ~/Downloads/yay-bin
pkexec cp ~/Downloads/yay-bin/yay /usr/bin/yay
2024-09-27 20:34:51 +00:00
rm -rd ~/Downloads/yay-bin