Skip to content

Instantly share code, notes, and snippets.

@azubieta
Last active November 26, 2019 03:49
Show Gist options
  • Save azubieta/143f9fa25376f16192677c296c54beef to your computer and use it in GitHub Desktop.
Save azubieta/143f9fa25376f16192677c296c54beef to your computer and use it in GitHub Desktop.
appimagetool installer for Debian
/bin/bash
set -ex
HOST_ARCH=$(dpkg-architecture -q DEB_BUILD_ARCH)
curl -o /tmp/appimagetool-${HOST_ARCH}.AppImage -L https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${HOST_ARCH}.AppImage
chmod +x /tmp/appimagetool-${HOST_ARCH}.AppImage
cd /opt && /tmp/appimagetool-${HOST_ARCH}.AppImage --appimage-extract
mv /opt/squashfs-root /opt/appimagetool.AppDir
ln -s /opt/appimagetool.AppDir/AppRun /usr/bin/appimagetool
rm /tmp/appimagetool-${HOST_ARCH}.AppImage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment