在Debian上创建AppImage包,常用方法有以下两种:
sudo apt update && sudo apt install appimagetool
。/path/to/your/app
。appimagetool your -app-name
,会自动生成包含依赖的.AppImage
文件。sudo apt update && sudo apt install linuxdeploy
。linuxdeployqt your -app-name --appimage
。生成后,使用chmod a+x your -app-name-x86_64.AppImage
赋予执行权限,即可运行。