Questions tagged [flatpak]

Flatpak is a packaging format for distributing sandboxed applications on GNU/Linux distributions. Use this tag for all questions related to creating, distributing and running Flatpaks.

Flatpaks (previously known as xdg-app) are applications that run in a sandboxed environment and include all necessary dependencies. This gives the application the following benefits:

  • Can be easily installed and uninstalled on most GNU/Linux distributions.
  • Grants additional protection to the base system because of sandboxing.
  • Does not depend on libraries from the base system, so alternate or multiple versions of software can be installed on the same system.

The downside to this is that the application will take up more disk space, since all dependencies are included with each application.

Flatpak can be installed on Ubuntu 20.04 (Focal Fossa) or later by enabling the Universe repository and running:

sudo apt update
sudo apt install flatpak

Flatpak packages are comparable in nature to and . This existing Q&A explains more about the similarities and differences between the three formats.

External Links

233 questions
15
votes
2 answers

Why is the flatpak repo folder so huge?

Does anyone know why the directory at $HOME/.local/share/flatpak/repo contains so many files (69 k) and is so huge (2 Gb) ? What is that ? I hardly ever use flatpaks anyway.... I guess it is not important to include the flatpak directory in one's…
12
votes
3 answers

How should the files of a Flatpak application be removed?

I installed an application using a command of the following form: flatpak --user install -y --app --bundle "$DIR/Suphead.flatpak" I uninstalled it using a command of the following form: flatpak --user uninstall org.flatpaklinux.Suphead However,…
7
votes
2 answers

Can I install/run multiple copies of a flatpak app?

Is it possible to install or run multiple copies of a flatpack package (example: Teams), each with its own isolated copy?
Braian
  • 171
6
votes
1 answer

How can I receive an update notification for new versions of installed Flatpak applications?

For example, I installed the Flatpak for Audacity which currently ships version 2.1.3. How can I receive an update notification once version 2.2.0 is out?
orschiro
  • 13,317
  • 17
  • 87
  • 161
5
votes
1 answer

How to make Thunderbird use a Flatpak app as default file handler?

I'm trying to make Flatpak Libreoffice the default app for opening files in Thunderbird. At the moment, Thunderbird (also a flatpak) is using System Handler as default. I tried changing it but cannot find where the libreoffice executable is on my…
To Do
  • 15,502
4
votes
1 answer

Flatpak commands hang / freeze for 5-10 minutes before completing

I have trouble executing simple flatpak commands, such as flatpak remote-add, flatpak search, and flatpak install. All commands just freeze for 5-10 minutes before returning the result. My 30mbps Internet connection is working normally. Manually…
Livy
  • 348
  • 1
  • 4
  • 16
3
votes
2 answers

Should I maintain multiple versions of the same Flatpak package?

#flatpak list Name Application ID Version Branch Installation Authenticator …
jasmines
  • 11,011
3
votes
2 answers

Is it safe to uninstall flatpak runtimes for apps I no longer have installed?

user@ncase:~$ flatpak list Ref Options org.DolphinEmu.dolphin-emu/x86_64/stable system,current org.freedesktop.Platform.GL.nvidia-396-54/x86_64/1.4…
Falc
  • 816
2
votes
1 answer

Help me understand "Remote ‘flathub’ found in multiple installations 1) system 2) user"

When I try to install a Flatpak from the Flathub website, I get a message like this one: $ flatpak install flathub app.organicmaps.desktop Looking for matches… Remote ‘flathub’ found in multiple installations: 1) system 2) user Which do you…
Flimm
  • 41,766
2
votes
1 answer

Flatpak: Can't check signature: public key not found

I am using Ubuntu 22.04.1 LTS. I installed flatpak from official documentation of flatpak. Now I am trying to install bottles by using this command: flatpak install flathub com.usebottles.bottles and I am getting this error: error: Unable to load…
2
votes
1 answer

How to have flatpak do anything?

This is a follow-up on this question, which is about why it is so troublesome to add Flatpak's PPA to the repositories. I have now added the PPA and the public key, so that I could run sudo apt-get update successfully. Yet, both commands flatpak…
1
vote
1 answer

Flatpak uninstall fails: assertion failed: (commit != NULL)

I installed PeaZip using Flatpak: $ flatpak install flathub io.github.peazip.PeaZip Looking for matches… Remote ‘flathub’ found in multiple installations: 1) system 2) user Which do you want to use (0 to abort)? [0-2]: 1 Skipping:…
mrgou
  • 195
1
vote
1 answer

404 Not Found [IP: ...]

Obj:7 http://ppa.launchpad.net/lutris-team/lutris/ubuntu hirsute InRelease Obj:8 http://co.archive.ubuntu.com/ubuntu hirsute-backports InRelease Err:9 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu hirsute Release 404 Not Found [IP:…
1
vote
1 answer

how to use libreoffice flatpak headlessly

I would like to use the libreoffice flatpak version to headlessly convert odt files to pdf. So e.g. libreoffice --headless --convert-to pdf ./somefile.odt However, I want to use the flatpak version for this.
Bruni
  • 10,542
0
votes
0 answers

Why does 'flatpak install' change the repo URL?

I am building my own flatpak application in a Focal VM, and it seems to work fine. However, I just created a second Focal VM, and even though it should be identical, it fails in some weird ways. Specifically, when I try to install my application…
maldata
  • 101
1
2