-
How to run xonsh AppImage on Alpine? |
Beta Was this translation helpful? Give feedback.
Answered by
anki-code
Mar 10, 2021
Replies: 1 comment 1 reply
-
It could be run after installing alpine-pkg-glibc. Docker example (origin): docker run -it --rm --cap-add SYS_ADMIN --device /dev/fuse \
--security-opt apparmor:unconfined --cap-add MKNOD alpine /bin/sh
# Download xonsh.AppImage
wget https://github.com/xonsh/xonsh/releases/download/0.17.0/xonsh-x86_64.AppImage
chmod +x xonsh-x86_64.AppImage
# Install alpine-pkg-glibc (from alpine-pkg-glibc README)
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.33-r0/glibc-2.33-r0.apk
apk add glibc-2.33-r0.apk
# Locales (from alpine-pkg-glibc README)
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.33-r0/glibc-bin-2.33-r0.apk
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.33-r0/glibc-i18n-2.33-r0.apk
apk add glibc-bin-2.33-r0.apk glibc-i18n-2.33-r0.apk
/usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8
apk add fuse bash
./xonsh-x86_64.AppImage
# Welcome to the xonsh shell (0.17.0)
# Also is working: ./xonsh-x86_64.AppImage --appimage-extract |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
anki-code
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It could be run after installing alpine-pkg-glibc. Docker example (origin):