You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide way to mount/extract AppImages without having user call themย #830
In situations when AppImages are not trustworthy, mounting AppImages becomes problematic. On the one hand a user doesn't want to execute the AppImage itself to use the --appimage-[mount|extract] options, as they can't know what's going to happen then (the runtime might be infected, for example). But on the other hand, mounting as root with sudo mount has a lot of disadvantages.
We should provide some tool for users to allow them to extract any AppImage without having to use the runtime in the AppImage. We've been talking about such an option for quite a while already, and I think it's time to finally implement it.
To Do:
extract mounting/extraction code for type 2 AppImages into a separate module, and provide it via the libappimage API
implement --mount option in appimagetool
eventually provide option to mount/extract type 1 AppImages as well (this is long overdue)
In my opinion, this should go into appimagetool rather than providing an extra application.
Reacted by mikeweilgart, Alexander Bich, Kelvin M. Klann, b-fuze, Zack and โชฉ ๐๐ฎ๐ต๐ช โชจ ~ NA0341
This issue may get extra attention now since it's been linked to from comments on a question on the "Ask Ubuntu" website: https://askubuntu.com/q/1231597/457111
For type-1 AppImages, you can extract them by renaming them .iso and then using a tool like Iso7z that can handle zisofs to extract them, or loop-mounting them
This answer should also address the original question, "Provide way to mount/extract AppImages without having user call them", hence closing.
Activity
probonopd commentedon Jul 27, 2018
Imho,
appimagetoolshould get the ability to extract type 1 and 2 AppImages. But the priority is lower than the number one and two annoyances :)mikeweilgart commentedon Apr 27, 2020
This issue may get extra attention now since it's been linked to from comments on a question on the "Ask Ubuntu" website: https://askubuntu.com/q/1231597/457111
probonopd commentedon Apr 28, 2020
The answers in that "Ask Ubuntu" article are mixing some things up. So maybe @mikeweilgart you'd like to point to this answer:
First of all, you need to find out which type of AppImage you have.
4149 02there, then you have a type-2 AppImage4149 01there, then you have a type-1 AppImageSo, here is how to extract (unpack) AppImages without having to run them:
.isoand then using a tool likeIso7zthat can handle zisofs to extract them, or loop-mounting themThis answer should also address the original question, "Provide way to mount/extract AppImages without having user call them", hence closing.
Docteh commentedon Sep 15, 2022
I tried the included instructions at the end, ended up doing like this and it worked
TARGET_APPIMAGE=/full/path/to.AppImage ./runtime-x86_64 --appimage-extractand it worked.