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

260 questions
239
votes
4 answers

What are the differences between snaps, appimage, flatpak and others?

I have been getting this question lately from students and although I have a lot of information to offer, I have not found a source that I can point people to where they can read an update answer (I have found a lot of misinformation and obsolete…
Luis Alvarado
  • 216,643
67
votes
4 answers

How to give a Flatpak app access to a directory

I installed Elisa music player from Flathub, but it refuses to see my Music partition, so I can't add any music to it's library unless I copy it to /home/my_user/. Is there a way to give a Flatpak application permission to access non canonical…
eridani
  • 1,584
37
votes
2 answers

Are Snap and Flatpak apps safe to install? Are they "official", approved or tested for a particular distro version?

I don't like installing apps outside my distro's official repositories. Linux's security relies a lot on having a repository meticulously curated and tested for library compatibility with current distro version, stability and security. Once I…
33
votes
2 answers

How to completely remove flatpak

I have removed flatpak with sudo apt-get purge flatpak; however, if I run locate flatpak I find several files and several directories. Can I remove them all with rm -r or there is a "better" way? If so, how do I have to do that? Edit Since my output…
Ntakwetet
  • 1,676
24
votes
3 answers

Where to find application after flatpak installation (gimp)

I have installed flatpak to install gimp on Ubuntu 16.04: flatpak install https://flathub.org/repo/appstream/org.gimp.GIMP.flatpakref After the installation was done I couldn't find any application on my system, it also did not appear on my…
sunwarr10r
  • 1,457
  • 4
  • 20
  • 33
20
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…
19
votes
3 answers

Why am I getting this Flatpak error: ldconfig failed, exit status 256, with every Flatpak?

For the past month or so, since upgrading to Ubuntu 24.04 (during the beta period), I've been getting this error when launching Flatpak applications from Gnome-Software or the terminal: ldconfig failed, exit status 256 When I launch them otherwise,…
RolandiXor
  • 51,797
19
votes
2 answers

How to completely remove snap and replace with flatpak?

I want to remove every piece of existing software/package on Ubuntu related to snap and replace with flatpak. How to completely remove snap in Ubuntu 19.04 and replace with flatpak without crashing or messing my existing system?
nazar2sfive
  • 1,493
13
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,…
13
votes
5 answers

Graphical way to install .flatpakref (Flatpak) files?

I've been downloaded a file from MonoDevelop website but it couldn't execute in my ubuntu, how to open that file? filename is "monodevelop.flatpakref"
12
votes
5 answers

How to run GIMP on Ubuntu 16.04 (install from flatpak)?

I install GIMP as shown in https://www.gimp.org/downloads/ by run the command in terminal flatpak install https://flathub.org/repo/appstream/org.gimp.GIMP.flatpakref Output This application depends on runtimes from: …
Haha TTpro
  • 348
  • 1
  • 2
  • 10
11
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
  • 211
11
votes
1 answer

How to clean cache and orphan dependencies in snap and flatpak?

Is there an equivalent of sudo apt clean in snap and flatpak (to delete the cached installation files)? That might free up a considerable amount of space. Also, is there any equivalent of sudo apt autoremove, or is it taken care of automatically?
10
votes
3 answers

How to use plugins with GIMP 2.10 flatpak?

After I ugraded form Ubuntu 16.04 to Ubuntu Mate 18.04, I wanted to try out GIMP 2.10, so I installed the flatpak GIMP 2.10.2 from flathub. (The snap containers only offers 2.10.0 at the moment) sudo apt install flatpak flatpak remote-add…
Janghou
  • 6,035
10
votes
1 answer

How to identify whether an app is a snap or a flatpak or a native app on my computer?

While I generally appreciate the new universal software package approaches like snap or flatpak, I started to feel uncomfortable concerning how to actually tell whether an app installed on my system (16.04 LTS Unity) is a snap app or a flatpak app…
Bunjip
  • 815
  • 1
  • 11
  • 23
1
2 3
17 18