How to install yay in distrobox? #1403
Unanswered
RashiqAzhan
asked this question in
Q&A
Replies: 1 comment
-
Here's an approximation that I've settled on: [arch]
# additional_packages="bat git helix jq starship"
# exported_bins="/usr/bin/bat /usr/bin/helix /usr/bin/jq /usr/bin/starship"
image=archlinux:latest
init=true
start_now=true
init_hooks=touch /init-normal /bin/enable-aur.sh;
init_hooks=echo #!/usr/bin/env bash > /bin/enable-aur.sh;
init_hooks=echo sudo pacman -S --needed --noconfirm base-devel git >> /bin/enable-aur.sh;
init_hooks=echo pushd /tmp >> /bin/enable-aur.sh;
init_hooks=echo git clone https://aur.archlinux.org/yay-bin.git >> /bin/enable-aur.sh;
init_hooks=echo cd yay-bin >> /bin/enable-aur.sh;
init_hooks=echo makepkg -si --noconfirm >> /bin/enable-aur.sh;
init_hooks=echo popd >> /bin/enable-aur.sh;
init_hooks=chmod +x /bin/enable-aur.sh;
pre_init_hooks="touch /pre-init"
pull=true
root=false And then, just run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to install yay from the file? I would like to have the entire distrobox app defined in a file for reproducibility.
distrobox.ini
Beta Was this translation helpful? Give feedback.
All reactions