Skip to content

Instantly share code, notes, and snippets.

@dasgoll
Created February 12, 2026 15:02
Show Gist options
  • Select an option

  • Save dasgoll/8943a686b0cd9eb91be45f0276ea2de6 to your computer and use it in GitHub Desktop.

Select an option

Save dasgoll/8943a686b0cd9eb91be45f0276ea2de6 to your computer and use it in GitHub Desktop.
Arch Linux in distrobox under Debian
mkdir ~/.local/bin
mkdir -p ~/archHome
distrobox create --yes --name arch-container --image docker.io/library/archlinux:latest --home ~/archHome
distrobox enter --no-workdir arch-container
sudo pacman -Syu
sudo pacman -S --noconfirm --needed base-devel git
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
paru -S --noconfirm zen-browser-bin
# while still inside the container run : zen-browser
# OR better
distrobox-export --app zen-browser
# now zen shows up in cinnamon menu, just search for it.
paru -S lazygit --skipreview --noconfirm
distrobox-export --bin /usr/sbin/lazygit --export-path /home/jalal/.local/bin
# update arch packages and AUR packages
paru -Syu
# to remove those apps
distrobox-export --app zen-browser --delete
distrobox-export --bin /usr/sbin/lazygit --export-path /home/jalal/.local/bin --delete
# to remove those apps from inside the container
pacman -Rs zen-browser-bin lazygit
distrobox stop arch-container
distrobox-list
podman ps
# enter again to start it
distrobox rm arch-container
podman rmi docker.io/library/archlinux:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment