this post was submitted on 07 May 2026
10 points (100.0% liked)

Linux

17462 readers
12 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

[Solved. See explanation by @alastel@lemmy.ml below.]

cross-posted from: https://lemmy.ca/post/64480945

I have the same version of Ubuntu (really Kubuntu) installed on two laptops, and also the same programs (debs, flatpaks, some snap) on both; they are almost mirrors.

Today I noticed that the .local/share/flatpak/ directory in one laptop has the following subfolders:

  • db
  • repo

while the homologous directory in the other laptop has these:

  • db
  • repo
  • appstream
  • app
  • runtime
  • exports

I'm just curious: does anyone know what the extra directories in the second laptop are about? The only difference in the flatpaks between the two laptops is with the GPUs: the first has Nvidia, Mesa, Intel; the second only Mesa and Intel (so I would be expecting more directories in the first than in the second, if any...).

Cheers!

top 2 comments
sorted by: hot top controversial new old
[โ€“] alastel@lemmy.ml 3 points 6 days ago (1 children)

This looks like to me that you might have flatpaks installed in your home on the second laptop, while all your flatpaks must be installed system wide on the first one.

You can see what is installed system or user side with

flatpak --user list
flatpak --system list

As for the additional directories purpose, app contains the apps (surprising i know), runtime the runtimes needed by the apps (such as say the org.kde.Platform for kde apps etc), exports the things that are exported for integration (like a bin dir you can add to PATH or the applications dir containing the .desktop files to launch apps from the desktop etc. appstream is a metadata format about apps i'm not sure exactly what they put in that dir, some cache maybe ?

[โ€“] pglpm@lemmy.ca 2 points 6 days ago

It was as you said! Thank you so much for explaining the difference and showing the commands ๐Ÿ™ I wonder how I managed to install user-side on one laptop, since the standard flatpak install ... (without sudo) seems to install system-side anyway. But now I've managed to have an identical setup :)