Skip to content

I want to be able run flatpak bundles without installing #408

Closed

Description

@Anti-Ultimate

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.

Activity

  1. TingPing commented on Nov 22, 2016

    @TingPing
    Member

    Create a repository and they simply have to update.

  2. Anti-Ultimate commented on Nov 22, 2016

    @Anti-Ultimate
    Author

    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

  3. probonopd commented on Nov 22, 2016

    @probonopd
  4. Anti-Ultimate commented on Nov 23, 2016

    @Anti-Ultimate
    Author

    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.

  5. probonopd commented on Nov 23, 2016

    @probonopd

    @Anti-Ultimate in order not to spam this thread, I have opened a separate issue for what you wrote above.

  6. alexlarsson commented on Nov 30, 2016

    @alexlarsson
    Member

    I understand you want this, but this is not inside the scope of flatpak. Closing.

  7. Ferk commented on Apr 21, 2018

    @Ferk

    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?

  8. damianatorrpm commented on Oct 7, 2018

    @damianatorrpm

    +1

  9. hcsubser commented on Dec 22, 2020

    @hcsubser

    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

  10. gasinvein commented on Dec 22, 2020

    @gasinvein
    Contributor

    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.

  11. ryanabx commented on May 8, 2024

    @ryanabx
    Contributor

    @gasinvein :

    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.

    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.Inkscape

    It will fail saying:

    error: app/org.inkscape.Inkscape/x86_64/master not installed
    

    It seems like flatpak still requires the app to be installed even if you override the app path :/

  12. TingPing commented on May 8, 2024

    @TingPing
    Member

    @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.

  13. ryanabx commented on May 8, 2024

    @ryanabx
    Contributor

    @TingPing :

    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.

  14. TingPing commented on May 8, 2024

    @TingPing
    Member

    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.

  15. 2-www commented on Aug 31, 2024

    @2-www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions