Document --appimage-extract-and-run #1368
Replies: 11 comments
-
I'd also like to be able to surpress the extract output unless there is an error with extraction, is that possible? I use tmux appimage package for example and everytime you get this output which I don't need to know about: /tmp/appimage_extracted_d5fc75edbd3f625b68b1c5c8a1bec900/usr/lib |
Beta Was this translation helpful? Give feedback.
-
It's not documented very well because it's inefficient, I would say.
What distros in particular?
Duplicate of #1002. Your AppImage uses a really old runtime, I guess. |
Beta Was this translation helpful? Give feedback.
-
It was some RHEL6 I think I'll let you know. Maybe FUSE isn't configured on it. For tmux FUSE mounting seems like overkill anyway. For a portable tmux binary all you really need is a statically linked binary, a separate filesystem should not be needed. AppImage just provided a neat alternative to static linking I guess! |
Beta Was this translation helpful? Give feedback.
-
Well, with AppImage, you can bundle a lot of additional data, e.g., for desktop integration. That doesn't work with static binaries. |
Beta Was this translation helpful? Give feedback.
-
I think this issue needs to be split into two:
Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
-
We should also mention that if you need to use |
Beta Was this translation helpful? Give feedback.
-
That kind of ruins the portability aspect if you depend on a certain configuration. There are users that find this useful, otherwise the feature wouldn't exist I guess? This system works fine for every other purpose? If my AppImage program runs perfectly with --appimage-extract-and-run and for every other purpose, it's not misconfigured for my uses at least. |
Beta Was this translation helpful? Give feedback.
-
What @probonopd means is what I already explained: running with this flag is inefficient, and it's preferable to e.g., install or configure FUSE. We do not want AppImages to degrade to "self-extracting archives". Also, the extracted files are not cached unless you export a special environment variable. |
Beta Was this translation helpful? Give feedback.
-
Fair enough, I'm eager to learn about the caching thing you mention. That seems useful, the extract on every execution behavior seems wasteful alright. |
Beta Was this translation helpful? Give feedback.
-
Although I did work around that by putting the relevant extracted bin and lib in /usr/bin and /usr/lib. Which understandably is not exactly how it's supposed to work. Meant to be more of a execute one file for everything approach I guess. |
Beta Was this translation helpful? Give feedback.
-
It's The feature is designed so that the cache directory name is predictable (i.e., future executions will use the same cache dir, and the runtime will recognize that the dir exists). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is the most useful feature of AppImage for me. Should we document it? Seems relatively undocumented compared to others such as --appimage-extract
FUSE filesystems don't work so well on some distros so it can mess with the whole portability aspect of this which this is trying to solve I guess?
Beta Was this translation helpful? Give feedback.
All reactions