[Solved] Question flatpak

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[Solved] Question flatpak

Postby Spinnifex » Mar 25th, '24, 00:55

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
Last edited by Spinnifex on Jun 9th, '24, 20:02, edited 1 time in total.
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: Question flatpak

Postby morgano » Mar 25th, '24, 01:38

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
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1488
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Question flatpak

Postby Spinnifex » Mar 25th, '24, 23:41

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
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: Question flatpak

Postby doktor5000 » Mar 26th, '24, 00:38

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Question flatpak

Postby Spinnifex » Mar 26th, '24, 00:45

Ok thanks I will give it a try.
Spinni
Last edited by doktor5000 on Mar 26th, '24, 18:46, edited 1 time in total.
Reason: removed fullquote
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam


Return to Basic support

Who is online

Users browsing this forum: laidlaws and 1 guest

cron