Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There is almost 105,000 files on my local home folder related to flatpaks.
Is it supposed to be normal ? Manageable? Reasonable ?
Code:
miguel$ find .local/share/flatpak | wc -l
104979
miguel$ du -sh .local/share/flatpak
2,3G .local/share/flatpak
miguel$ flatpak list
Nome ID de aplicativo Versão Ramo Origem Instalação
Clipboard app.getclipboard.Clipboard 0.8.3 stable flathub system
8bit Solutions LLC com.bitwarden.desktop 2024.4.1 stable flathub user
Freedesktop Platform org.freedesktop.Platform 23.08.17 23.08 flathub system
Freedesktop Platform org.freedesktop.Platform 23.08.17 23.08 flathub user
Mesa org.freedesktop.Platform.GL.default 24.0.6 23.08 flathub system
Mesa org.freedesktop.Platform.GL.default 24.0.6 23.08 flathub user
Mesa (Extra) org.freedesktop.Platform.GL.default 24.0.6 23.08-extra flathub system
Mesa (Extra) org.freedesktop.Platform.GL.default 24.0.6 23.08-extra flathub user
openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 flathub system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 flathub user
Breeze GTK theme org.gtk.Gtk3theme.Breeze 6.0.4 3.22 flathub system
Breeze GTK theme org.gtk.Gtk3theme.Breeze 6.0.4 3.22 flathub user
KDE Application Platform org.kde.Platform 6.6 flathub user
KleverNotes org.kde.klevernotes master klevernotes-nightly user
miguel$
The biggest problem it pollutes my home folder causing problems in a backup.
Took some time to realize why my backups are taking so long to complete. More than 5h before versus 20m after excluding that path from backup.
For sure, something is not ideal, even reasonable.
I think the point in flatpak is that it provides a "sandbox" on top of your own distro. I assume it needs an additional copy of each of the the libraries etc that are normally part of Ubuntu or whatever you are using. This must add up to a significant number, depending on which flatpaks you have installed and their dependencies.
I haven't used flatpak much, but have you installed something packages as a user and additionally as system? If so, this might be adding additional files to your disk
I think the point in flatpak is that it provides a "sandbox" on top of your own distro. I assume it needs an additional copy of each of the the libraries etc that are normally part of Ubuntu or whatever you are using. This must add up to a significant number, depending on which flatpaks you have installed and their dependencies.
I have never used flatpak or appimage but I remember dimly that in the days when I used Windows, every application came with its own libraries. When I started using Linux and found that all the aplications sat on a common layer of libraries, that seemed to me a much better system, much more logical and economical and less likely to go wrong. I think we are moving backwards.
I haven't used flatpak much, but have you installed something packages as a user and additionally as system? If so, this might be adding additional files to your disk
Yes, I have, but I just notice that when you asked.
So, you think it is safe to remove those installed by user ?
As root:
Code:
mastodon:~ # flatpak list
Name Application ID Version Branch Installation
Clipboard app.getclipboard.Clipboard 0.8.3 stable system
Freedesktop Platform org.freedesktop.Platform 23.08.17 23.08 system
Mesa org.freedesktop.Platform.GL.default 24.0.6 23.08 system
Mesa (Extra) org.freedesktop.Platform.GL.default 24.0.6 23.08-extra system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 system
Breeze GTK theme org.gtk.Gtk3theme.Breeze 6.0.4 3.22 system
mastodon:~ #
again, as user:
Code:
miguel$ flatpak list
Nome ID de aplicativo Versão Ramo Origem Instalação
Clipboard app.getclipboard.Clipboard 0.8.3 stable flathub system
8bit Solutions LLC com.bitwarden.desktop 2024.4.1 stable flathub user
Freedesktop Platform org.freedesktop.Platform 23.08.17 23.08 flathub system
Freedesktop Platform org.freedesktop.Platform 23.08.17 23.08 flathub user
Mesa org.freedesktop.Platform.GL.default 24.0.6 23.08 flathub system
Mesa org.freedesktop.Platform.GL.default 24.0.6 23.08 flathub user
Mesa (Extra) org.freedesktop.Platform.GL.default 24.0.6 23.08-extra flathub system
Mesa (Extra) org.freedesktop.Platform.GL.default 24.0.6 23.08-extra flathub user
openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 flathub system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 flathub user
Breeze GTK theme org.gtk.Gtk3theme.Breeze 6.0.4 3.22 flathub system
Breeze GTK theme org.gtk.Gtk3theme.Breeze 6.0.4 3.22 flathub user
KDE Application Platform org.kde.Platform 6.6 flathub user
KleverNotes
miguel$
If your backups are being done correctly they shouldn't take 5 hours. I keep 30+ flatpak packages + their dependencies installed in /home/"$USER". My backup of /home + the couple hundred g of steam / battle.net (via bottles) backs up with duplicity in under a minute and a half. 2 tops. There is no reason to backup stuff that hasn't changed more than necessary.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.