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
I want to be able run flatpak bundles without installing #408
Seriously, if I'm releasing development builds from git every day or so, I don't expect the user to really want to install every single one of them. AppImage is the only solution to my issue right now and I'd like to have Flatpak also do enable this.
Reacted by Ingo Ruhnke, Ade Malsasa Akbar, runiq, Ferk, tgschultz, Blake Kostner, Imtiaz Shakil Siddique, zocker-160, Konstantin K, Oliver Chen and 3 more
No, what I want is to have a single file that runs by clicking on it. To test development releases and to have the ability to pinpoint where something broke. A repository is not what I want
Yes, but the thing is that AppImageKit draws in useless libraries from apt the binary doesn't even need, just because Library Y is in Package X which contains 10 other libraries the application isn't linked to. Those just take up space and are completely useless.
I could copy the libaries into the AppDir manually like I used to do, but this has shown not to work well in the past with newer distros containing newer versions of libraries needed. And the libraries to compile can only be found on a specific distro (namely the one which has the libraries specified in the script).
It's not making it any better that my bash skills are baby-grade.
AppImages compiled against the Flatpak runtime/SDK, now that's something I would like.
Flatpak containers looked to me like they would be perfect for portability and compatibility. AppImages have the problem that the packagers need to find a compromise between bundling too much of the runtime they expect or sacrificing compatibility by relying on the distro. A flatpak container however guarantees that the user is running exactly what the developer tested.
If making apps portable is not part of the scope of Flatpak that's a bit disappointing, I always though it was on the same race with AppImage and Snap.
But by your comments here it looks like it might not be too hard to implement this. If a flatpak ostree could be mounted in a temporary mountpoint it could be run from there, wherever it is placed, right?
Reacted by Damian Ivanov, probonopd, maverick74, Mahmut Elmas, Ferk, Sergei von Alis, tgschultz, Hassan El-Mehalawi, Colin Jones, Chi and 10 more
You should really take a deeper look into this.
It takes the best things from both worlds(appimages and flatpaks)
This can really make flatpaks much more flexible and far more useful.
I would really want to see something done about this
I think that #4018, despite having completely different goal, might help implementing this, if someone decides to. It allows to "replace" runtime (/usr) with a user-provided directory. Do the same for app bundle (/app) - and I guess you'll effectively have the ability to run things without installation.
I think that #4018, despite having completely different goal, might help implementing this, if someone decides to. It allows to "replace" runtime (/usr) with a user-provided directory. Do the same for app bundle (/app) - and I guess you'll effectively have the ability to run things without installation.
@ryanabx You can use the FLATPAK_USER_DIR env var to use custom locations for apps/runtimes. The installations feature might be better but that might require privileges.
You can use the FLATPAK_USER_DIR env var to use custom locations for apps/runtimes. The installations feature might be better but that might require privileges.
Thank you! I did look into the installations feature but since it's name-based and not path-based I figured it wouldn't work as well for temporary repos. I did make a feature request recently for the ability to specify --installation={PATH} though, and I think that'd be a nice thing to have.
If I set FLATPAK_USER_DIR, will it expect the runtime to be there as well? What I'd like to be able to do is use the system or user-level installation to find the runtime, but have the app installed in a temporary repo OR just mount the files to /app directly if that's possible.
If I set FLATPAK_USER_DIR, will it expect the runtime to be there as well? What I'd like to be able to do is use the system or user-level installation to find the runtime, but have the app installed in a temporary repo OR just mount the files to /app directly if that's possible.
It works for runtimes/extensions/apps. It will also use system level runtimes if they there.
Activity
TingPing commentedon Nov 22, 2016
Create a repository and they simply have to update.
Anti-Ultimate commentedon Nov 22, 2016
No, what I want is to have a single file that runs by clicking on it. To test development releases and to have the ability to pinpoint where something broke. A repository is not what I want
probonopd commentedon Nov 22, 2016
Anti-Ultimate commentedon Nov 23, 2016
Yes, but the thing is that AppImageKit draws in useless libraries from apt the binary doesn't even need, just because Library Y is in Package X which contains 10 other libraries the application isn't linked to. Those just take up space and are completely useless.
I could copy the libaries into the AppDir manually like I used to do, but this has shown not to work well in the past with newer distros containing newer versions of libraries needed. And the libraries to compile can only be found on a specific distro (namely the one which has the libraries specified in the script).
It's not making it any better that my bash skills are baby-grade.
AppImages compiled against the Flatpak runtime/SDK, now that's something I would like.
probonopd commentedon Nov 23, 2016
@Anti-Ultimate in order not to spam this thread, I have opened a separate issue for what you wrote above.
alexlarsson commentedon Nov 30, 2016
I understand you want this, but this is not inside the scope of flatpak. Closing.
Ferk commentedon Apr 21, 2018
I'm a bit sad that this was rejected.
Flatpak containers looked to me like they would be perfect for portability and compatibility. AppImages have the problem that the packagers need to find a compromise between bundling too much of the runtime they expect or sacrificing compatibility by relying on the distro. A flatpak container however guarantees that the user is running exactly what the developer tested.
If making apps portable is not part of the scope of Flatpak that's a bit disappointing, I always though it was on the same race with AppImage and Snap.
But by your comments here it looks like it might not be too hard to implement this. If a flatpak ostree could be mounted in a temporary mountpoint it could be run from there, wherever it is placed, right?
damianatorrpm commentedon Oct 7, 2018
+1
hcsubser commentedon Dec 22, 2020
You should really take a deeper look into this.
It takes the best things from both worlds(appimages and flatpaks)
This can really make flatpaks much more flexible and far more useful.
I would really want to see something done about this
gasinvein commentedon Dec 22, 2020
I think that #4018, despite having completely different goal, might help implementing this, if someone decides to. It allows to "replace" runtime (
/usr) with a user-provided directory. Do the same for app bundle (/app) - and I guess you'll effectively have the ability to run things without installation.ryanabx commentedon May 8, 2024
@gasinvein :
This is what I am trying to do at https://github.com/ryanabx/portapak (minus replacing the runtime)
However, if, for example, org.inkscape.Inkscape is not installed in the system or user installations, and you run, for example:
"flatpak --env=HOME=/var/home/ryanbrue --app-path=/run/user/1000/portapak/out/inkscape/files run org.inkscape.InkscapeIt will fail saying:
It seems like flatpak still requires the app to be installed even if you override the app path :/
TingPing commentedon May 8, 2024
@ryanabx You can use the
FLATPAK_USER_DIRenv var to use custom locations for apps/runtimes. The installations feature might be better but that might require privileges.ryanabx commentedon May 8, 2024
@TingPing :
Thank you! I did look into the installations feature but since it's name-based and not path-based I figured it wouldn't work as well for temporary repos. I did make a feature request recently for the ability to specify
--installation={PATH}though, and I think that'd be a nice thing to have.If I set
FLATPAK_USER_DIR, will it expect the runtime to be there as well? What I'd like to be able to do is use the system or user-level installation to find the runtime, but have the app installed in a temporary repo OR just mount the files to /app directly if that's possible.TingPing commentedon May 8, 2024
It works for runtimes/extensions/apps. It will also use system level runtimes if they there.
2-www commentedon Aug 31, 2024