Page 1 of 1

[Solved] Question flatpak

PostPosted: Mar 25th, '24, 00:55
by Spinnifex
Hello.

I recently installed some application with
Code: Select all
flatpak

Each time -even if the app is small- there are some dependencies with huge amout
of bytes. Mostly graphic environment related stuff like nvidia opengl etc.

So my question.
Did every app has to download this set of dependencies again?
Or is there a common pool of packages?

If every little app download additional 500 MB again and again my disk
fill up shortly.

Regards
Spinni

Re: Question flatpak

PostPosted: Mar 25th, '24, 01:38
by morgano
Flatpak programs can share the same dependencies, like "KDE Application Platform", Mesa, nvidia driver, and similar.
Sometimes they need different versions, and some may need KDE stuff, some other Gnome stuff...
Also if you have nvidia proprietary driver and change version, flatpak install the new too, you may want to uninstall the old one with the remove --unused option. Similar happens with base systems.

Do not forget to update flatpak programs.
And yes that may be big updates because of the base systems.

When installing you have the option of placing the software in / or /home. I have decided to have it most in /home as there was not space enough in my / for all basesystems and CAD libraries...

https://wiki.mageia.org/en/Flatpak

Re: Question flatpak

PostPosted: Mar 25th, '24, 23:41
by Spinnifex
Hello

Thanks for the description!
That sounds good to me.

I've discovered an app called Warehouse.
https://flathub.org/apps/io.github.flattool.Warehouse
Maybe this will help me managing my flatpak apps.

Here is an example how big a simple App will be
Code: Select all
# flatpak install flathub com.github.tchx84.FlatsealSuchen nach Übereinstimmungen …
Required runtime for com.github.tchx84.Flatseal/x86_64/stable (runtime/org.gnome.Platform/x86_64/45) found in remote flathub
Möchten Sie es installieren? [Y/n]: Y

com.github.tchx84.Flatseal Berechtigungen:
    ipc                  fallback-x11         wayland      x11      dri
    file access [1]      dbus access [2]

    [1] /var/lib/flatpak/app:ro, xdg-data/flatpak/app:ro, xdg-data/flatpak/overrides:create
    [2] org.freedesktop.impl.portal.PermissionStore, org.gnome.Software


        KENNUNG                                        Zweig         Op  Gegenstelle  Herunterladen
 1.     org.freedesktop.Platform.GL.default            23.08         i   flathub      < 164.6 MB
 2.     org.freedesktop.Platform.GL.default            23.08-extra   i   flathub      < 164.6 MB
 3.     org.freedesktop.Platform.GL.nvidia-550-54-14   1.4           i   flathub      < 307.8 MB
 4.     org.freedesktop.Platform.openh264              2.2.0         i   flathub      < 944.3 KB
 5.     org.gnome.Platform.Locale                      45            i   flathub      < 369.6 MB (teilweise)
 6.     org.gnome.Platform                             45            i   flathub      < 378.2 MB
 7.     com.github.tchx84.Flatseal                     stable        i   flathub      < 170.9 KB


Spinni

Re: Question flatpak

PostPosted: Mar 26th, '24, 00:38
by doktor5000
No, it's really not. You need all those base libraries for most graphical programs.
You also can't install a regular distro with a graphical desktop with common programs like libreoffice, firefox and such without having the required libraries installed.
And those are reused for most other flatpaks.

Re: Question flatpak

PostPosted: Mar 26th, '24, 00:45
by Spinnifex
Ok thanks I will give it a try.
Spinni