Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Setup some Distroboxes #91

@boredsquirrel

Description

@boredsquirrel

Arch: very useful for rare software. Installing yay along with it.

distrobox create Arch -i docker.io/library/archlinux:latest && distrobox enter Arch
sudo pacman -Syu -n
sudo pacman -S -n --needed base-devel git
mkdir ~/Arch && cd ~/Arch && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si && yay --version && rm -f yay*.tar.zst yay*.gz PKGBUILD

Question: they install yay as sudo and need to reassign permissions. For a binary program that was not needed, but maybe it is for regular programs?

Yay with sudo

distrobox create Arch -i docker.io/library/archlinux:latest && distrobox enter Arch
sudo pacman -Syu -n
sudo pacman -S -n --needed base-devel git
cd /opt
sudo git clone https://aur.archlinux.org/yay-git.git
sudo chown -R $USER:$USER ./yay-git
cd yay-git
makepkg -si && rm -f yay*.tar.zst yay*.gz PKGBUILD
sudo yay -Syu

Metadata

Metadata

Assignees

No one assigned

    Labels

    stagingsuggestions being considered

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions