Flatpak vs Snap: Which Package Format Really Works Better?
In this article
If you stopped using Flatpak and switched to Snap, you’re not alone—but the honest answer is that neither format is universally “better.” Snap and Flatpak both solve the same problem (distributing Linux apps with their dependencies bundled), but they make different trade-offs in performance, integration, and philosophy, so the right choice depends on your distribution, your hardware, and your priorities.
Background: Why These Formats Exist
Traditional Linux package managers like APT or DNF install software from a central repository, pulling in shared libraries that many programs use. That works well until two apps need different versions of the same library, or you want an app that isn’t in your distro’s repos. That’s where containerized packaging comes in: both Snap and Flatpak bundle an app’s dependencies inside a sandbox, so the app runs the same on any Linux distribution.
Canonical introduced Snap in 2016, and it’s the default on Ubuntu and many of its derivatives. Flatpak, started by Alex Larsson in 2015 and now backed by Red Hat and others, is the default on Fedora, Linux Mint, and many other distros. Both are widely used, but they’ve developed distinct ecosystems and technical approaches.
How They Work Under the Hood
Both formats use sandboxing and a central runtime, but the details differ significantly.
- Snap uses snapd, a background daemon that manages snaps. Snaps are squashfs images mounted at runtime, and they use AppArmor (or SELinux on some systems) for security confinement. The Snap Store is hosted by Canonical, and snaps can be published by anyone, but the store is the only official channel.
- Flatpak uses Flatpak itself, which runs apps in a sandbox using Bubblewrap and OSTree. Flatpaks are distributed through remotes like Flathub, a community-run repository. Flatpak apps share runtimes (like Freedesktop or GNOME) that are installed once and reused across many apps, which saves disk space.
Both formats update automatically in the background, but the mechanics differ: snapd runs a timer that refreshes snaps, while Flatpak updates are triggered by the user or a system service.
Performance and Startup Time
One of the most common complaints about Snap is slow startup. Because snaps are mounted on first run, launching a snap app can take a second or two longer than a native app. Flatpak apps also have some overhead, but many users report that Flatpak feels snappier, especially on older hardware.
However, the difference is often overstated. On modern SSDs, both formats are acceptable for most apps. The real performance gap appears with large applications like LibreOffice or GIMP, where the first launch can be noticeably slower with Snap. Once the app is running, CPU and memory usage are comparable to native packages.
Another factor is disk space. Snap and Flatpak both duplicate libraries, but Flatpak’s shared runtimes mean that if you have several Flatpak apps from the same runtime, they share one copy. Snaps, on the other hand, each bundle their own dependencies, so three snaps can take up more space than three Flatpaks using the same runtime.
Integration with Your Desktop
Integration with the desktop environment is a major differentiator. Flatpak apps are designed to integrate well with GNOME and KDE, using the system’s theme, fonts, and file chooser. Snap apps, until recently, had poorer theming and often looked out of place, though this has improved with the snapd integration on Ubuntu.
File access is another area: Flatpak uses a portal system that lets the user grant access to specific files or folders, while Snap uses a similar permission model but with less granular control. In practice, both can access your home directory if you allow it, but Flatpak’s sandbox is stricter by default.
For command-line tools, Snap has an advantage: you can install CLI tools like docker or node as snaps, and they work seamlessly in the terminal. Flatpak is primarily for GUI apps, though there are some CLI Flatpaks.
Common Problems and How to Avoid Them
Both formats have their share of issues, and knowing them can save you frustration.
- Snap-specific problems: Slow first launch, automatic updates that can break things, and the fact that some snaps are not fully confined (like
snap-store). Also, snapd runs as a daemon, which some users dislike for privacy or resource reasons. - Flatpak-specific problems: The Flathub repository is community-moderated, so quality varies. Some apps are not officially supported by their developers, and there have been cases of malicious apps on Flathub (though they were removed quickly). Also, Flatpak apps may not have access to all system features, like certain hardware acceleration or proprietary codecs, unless you install extra runtimes.
To avoid these issues, always install apps from official sources: use the Snap Store or the developer’s own snap, and for Flatpak, stick to verified apps on Flathub. If you’re on Ubuntu, you can also use flatpak alongside snap, but that adds complexity.
How to Choose: Which One Should You Use?
Your choice should be based on your distribution and your needs.
- If you’re on Ubuntu or a derivative: Snap is the default, and it’s well-integrated. You can install Flatpak, but you’ll need to add the Flathub remote manually. For most users, sticking with Snap is the path of least resistance.
- If you’re on Fedora, Linux Mint, or another distro that prefers Flatpak: Use Flatpak. It’s the default, and Flathub is pre-configured. Snap can be installed, but it may require extra setup and isn’t as well integrated.
- If you’re on Arch, Debian, or other distros: You can choose either. Many users prefer Flatpak for its better sandbox and theming, but Snap works fine if you need a specific app that’s only available as a snap.
- If you care about open-source philosophy: Flatpak is more aligned with the free software community, while Snap’s store is proprietary (though the client is open source).
In short, there’s no single “better” format. The best one is the one that works well on your system and has the apps you need.
Alternatives: What Else Is There?
If you’re unhappy with both, there are alternatives:
- AppImage: A single-file executable that you download and run without installation. It’s portable but has no automatic updates and no sandboxing.
- Native packages: The traditional way, using your distro’s package manager. These are the fastest and most integrated, but you’re limited to what’s in the repos.
- Bottles or Distrobox: These let you run Windows apps or other distros’ software in a container, but they’re more complex.
For most users, the choice is between Snap and Flatpak, but knowing these alternatives can help if you hit a wall.
Frequently Asked Questions
Are snaps slower than flatpaks?
In many tests, Flatpak apps start faster than Snap apps, especially on first launch, because snaps are mounted on demand. However, the difference is often small on modern hardware. Once running, both are comparable.
Can I use both Snap and Flatpak on the same system?
Yes, you can install both. On Ubuntu, you can add Flatpak support by installing flatpak and adding the Flathub remote. On Fedora, you can install Snap by enabling the Snap Store repository. Just be aware that having both increases disk usage and update traffic.
Which one is more secure?
Both use sandboxing, but Flatpak’s sandbox is generally considered stricter, with more granular permissions. Snap also has good security, but some snaps are not fully confined. The biggest risk is installing from untrusted sources, so always use official stores.
Why do some apps only come as Snap or Flatpak?
Developers choose based on their target audience and infrastructure. For example, Slack and Spotify offer snaps because they want to support Ubuntu easily. Many open-source apps are on Flathub because the community prefers it. If an app you want is only on one format, that may decide for you.
Can I convert a Snap to Flatpak or vice versa?
No, they are different formats with different runtimes and sandboxing. You can’t convert one to the other; you have to install the app from the other source. Some apps are available in both, so you can just switch.