Announcement

Collapse
No announcement yet.

KDE Discover Making Progress With Flatpak Support

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • phoronix
    started a topic KDE Discover Making Progress With Flatpak Support

    KDE Discover Making Progress With Flatpak Support

    Phoronix: KDE Discover Making Progress With Flatpak Support

    KDE developer Jan Grulich already tackled Flatpak KDE portals support and one of his latest support has been integrating a Flatpak back-end into KDE Discover...

    http://www.phoronix.com/scan.php?pag...latpak-Backend

  • anda_skoa
    replied
    Originally posted by bug77 View Post
    Yeah, but the initial assertion was that this will enable root-less application install. And that will keep everything in user's home.
    Not necessarily, depends a bit on the system's setup.
    The admin could allow all or certain users to install into shared locations, e.g. /usr/local or /opt or a custom path, while still keeping the system installation protected for root-only write access.

    Cheers,
    _

    Leave a comment:


  • bug77
    replied
    Originally posted by RahulSundaram View Post

    It does already handle root less application installation. If you install an application into your own home dir, that is isolated and not shared with other users but even within that home, if multiple applications depends on the same runtime or even bundled libraries, only a single copy is stored. If there are file level variations, the diff is stored. ostree is essentially git for applications.
    Right. So if several apps you install have stuff in common, it can detect that. But it can't do that if several users install the same application.
    Please note that this is not me criticizing flatpack, it's me recalling a particular sore point when handling apps installed in user's home. Imho, that should be big no-no, at least on Linux, that already has a well defined folder hierarchy.

    Leave a comment:


  • RahulSundaram
    replied
    Originally posted by bug77 View Post

    Yeah, but the initial assertion was that this will enable root-less application install. And that will keep everything in user's home.
    It does already handle root less application installation. If you install an application into your own home dir, that is isolated and not shared with other users but even within that home, if multiple applications depends on the same runtime or even bundled libraries, only a single copy is stored. If there are file level variations, the diff is stored. ostree is essentially git for applications.

    Leave a comment:


  • bug77
    replied
    Originally posted by ebassi View Post

    If it's inside a user's home, then no: every user flatpak repository is isolated.

    Luckily, you can install applications and runtimes globally as well; so if application A installed by user X depends on runtime R, and user Y installs application B which also happens to depend on runtime R, there's only one copy of the run time installed. Additionally, if user X has both applications A and B installed and they bundle identical files, you only store one copy of each file instead of two.
    Yeah, but the initial assertion was that this will enable root-less application install. And that will keep everything in user's home.

    Leave a comment:


  • ebassi
    replied
    Originally posted by bug77 View Post

    What does that mean? If user A wants to install app X, flatpak will detect it's already installed in user B's home and not actually write it on the disk again, but only write deltas if it's not the exact same version?
    If it's inside a user's home, then no: every user flatpak repository is isolated.

    Luckily, you can install applications and runtimes globally as well; so if application A installed by user X depends on runtime R, and user Y installs application B which also happens to depend on runtime R, there's only one copy of the run time installed. Additionally, if user X has both applications A and B installed and they bundle identical files, you only store one copy of each file instead of two.

    Leave a comment:


  • theghost
    replied
    Originally posted by mike44 View Post
    krita works great with it's appimage support
    Fine, but this article is about flatpak support in KDE Discover.

    Leave a comment:


  • bug77
    replied
    Originally posted by RahulSundaram View Post

    Not quite. flatpak is based on ostree which does deduplication at the file level.
    What does that mean? If user A wants to install app X, flatpak will detect it's already installed in user B's home and not actually write it on the disk again, but only write deltas if it's not the exact same version?

    Leave a comment:


  • mike44
    replied
    krita works great with it's appimage support

    Leave a comment:


  • Zoll
    replied
    I'm really liking Discover more now that ever, it's shaping out quite nicely and not as ugly as before. I hope its support for snap/flatpak packages gets mature.

    Leave a comment:

Working...
X