Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Appimage runtime? #76

Open
lalten opened this issue Apr 8, 2024 · 1 comment
Open

Upgrade Appimage runtime? #76

lalten opened this issue Apr 8, 2024 · 1 comment

Comments

@lalten
Copy link

lalten commented Apr 8, 2024

The latest zsync2 releases fail on Ubuntu 22+ because of the Fuse 2 thing.

❯ wget https://github.com/AppImageCommunity/zsync2/releases/download/2.0.0-alpha-1-20230304/zsync2-63-1608115-x86_64.AppImage
❯ chmod +x zsync2-63-1608115-x86_64.AppImage
❯ ./zsync2-63-1608115-x86_64.AppImage --version
dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information

Would be nice to switch to a newer statically linked AppImage runtime.

Workaround:

❯ wget https://github.com/lalten/type2-runtime/releases/download/build-2022-10-03-f216acf/runtime-fuse3-x86_64
❯ wget https://github.com/AppImageCommunity/zsync2/releases/download/2.0.0-alpha-1-20230304/zsync2-63-1608115-x86_64.AppImage
❯ chmod +x zsync2-63-1608115-x86_64.AppImage
❯ offset=$(( $(./zsync2-63-1608115-x86_64.AppImage --appimage-offset) + 1 ))
❯ tail -c +$offset zsync2-63-1608115-x86_64.AppImage > zsync2.sqfs
❯ cat runtime-fuse3-x86_64 zsync2.sqfs > zsync2.appimage
❯ chmod +x zsync2.appimage
❯ ./zsync2.appimage --version
zsync2 version 2.0.0-alpha-1 (commit 1608115), build 63 built on 2023-03-04 00:30:21 UTC
@probonopd
Copy link
Member

probonopd commented Apr 27, 2024

Agree. Will need to switch to the new appimagetool once it is ready.
In the meantime, sudo apt-get -y install libfuse2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants