⚙️ Portable rootless xonsh build on AppImage #3357
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
AppImage is a format for distributing portable software on Linux without needing superuser permissions to install the application. It tries also to allow Linux distribution-agnostic binary software deployment for application developers, also called Upstream packaging.
AppImage allows xonsh to be run on any AppImage supported Linux distributive without installation and root access.
Try it now
You can download and try prebuilded xonsh.AppImage:
Build xonsh.AppImage
Let's start:
fuse
:Not all required. Feel free to clean.
Here we see downloading of
entrypoint
branch fromanki-code/linuxdeploy-plugin-python
because the originniess/linuxdeploy-plugin-python
repository has not yet accepted the pull request with xonsh.As result you'll find executable file
xonsh-x86_64.AppImage
that runs xonsh and can take command line arguments like xonsh:Enjoy!
Troubleshooting
GLIBs versions
You can noticed that we build AppImage in docker with older version of Ubuntu (16.04) to avoid error with core libraries versions when binary compiled on modern version can't use older version of libraries. In this nasty case you can see the error like
/xonsh-x86_64.AppImage: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.25 not found (required by /ppp/xonsh-x86_64.AppImage)
. This means you should rebuild the AppImage for older version of distributive. If you know how to fix it once and forever feel free to tell us.Windows Subsystem for Linux (WSL)
Need WSL support:
Workaround is extracting appimage and run manually: