The apt repositories give Parrot Linux a huge, well-tested catalogue, but they do not have everything, and what they have is not always the newest build. That is where Parrot Linux Flatpak and Snap support comes in: two universal package formats that let you install desktop apps directly from the publisher, isolated from the base system. This guide shows how to set up both on Parrot OS, what Parrot’s own sandboxing layers (AppArmor and Firejail) mean for them, and how to decide when apt is still the right tool.
Why use Flatpak on Parrot Linux at all?
Parrot OS is built on Debian 13 and inherits Debian’s release model: packages are frozen at a version, then receive security fixes rather than feature updates. For a security distribution that stability is a feature. For a desktop user who wants this month’s OBS Studio, the latest Signal client, or a proprietary app that was never packaged for Debian, it is a limitation. Flatpak and Snap sidestep it by bundling an app with its own runtime, so the version you get does not depend on what Debian froze.
Both formats also run apps inside a sandbox. That matches the Parrot philosophy well: a third-party binary gets a restricted view of your filesystem, devices and network, and you can tighten or loosen those permissions per app. The trade-offs are disk space (runtimes are large), slower first launches, and the fact that sandboxed apps sometimes cannot see files or hardware until you grant access.
Flatpak vs Snap vs apt: which to use when
| apt | Flatpak | Snap | |
|---|---|---|---|
| Source | Parrot and Debian repos | Flathub and other remotes | Snap Store |
| Best for | System packages, security tools, libraries | Desktop GUI apps | Apps only published as snaps |
| Integration with Parrot | Native, tested by the project | Good; KDE Discover can manage it | Works, but needs extra setup |
| Sandbox | AppArmor profiles where provided | Bubblewrap, per-app permissions | AppArmor confinement |
| Disk cost | Low | Medium to high | High; also loop-mounts each snap |
| Startup speed | Fastest | Slightly slower | Noticeably slower on first run |
The practical rule for Parrot: use apt for anything security-related or anything that is in the repos at an acceptable version, use Flatpak for graphical desktop apps that are missing or outdated, and reach for Snap only when a specific app is published nowhere else. If you have not yet read how Parrot’s own package layer works, the Parrot software management reference explains why parrot-upgrade exists alongside apt.
Installing Flatpak on Parrot OS
Flatpak is in the Debian repositories, so installation is a normal apt job. Update first, then add the package and the Flathub remote, which is where the vast majority of apps live:
sudo apt update
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepoThe remote is added for all users by default (it goes under /var/lib/flatpak). If you want a personal setup that does not need root, append --user to the remote-add command and to every install command afterwards.
Log out and back in once after installing. Flatpak adds its export directories to your session’s application path, and until the session restarts the KDE Plasma or MATE menu will not show newly installed apps.
Graphical management in KDE Plasma and MATE
Parrot 7.4 ships KDE Plasma 6 as the default desktop, and its software centre, Discover, can browse Flathub once the backend is present:
sudo apt install plasma-discover-backend-flatpakOn the MATE spin, GNOME Software with its Flatpak plugin does the same job: sudo apt install gnome-software gnome-software-plugin-flatpak. Either way, the command line remains the most reliable way to see exactly what is happening, and it works identically on every Parrot edition.
Your first Flatpak install
Search, install and run from the terminal:
flatpak search obs
flatpak install flathub com.obsproject.Studio
flatpak run com.obsproject.StudioFlatpak identifies apps by reverse-DNS IDs rather than short names, which looks odd at first but avoids any clash with apt package names. Once installed, the app also appears in your desktop menu, so the flatpak run form is mainly for scripts and troubleshooting.
Routine maintenance is two commands:
flatpak update
flatpak uninstall --unusedThe second removes runtimes that no installed app still needs, which is the single biggest way to claw back disk space. Run it after uninstalling anything.
Managing Flatpak permissions
Because each app is sandboxed, you occasionally need to grant access it does not have by default, such as a folder outside your home directory or a USB device. The flatpak override command does this persistently:
# let an app read and write a specific directory
flatpak override --user --filesystem=/media/labdata com.obsproject.Studio
# see the effective permissions for an app
flatpak info --show-permissions com.obsproject.Studio
# reset overrides if something breaks
flatpak override --user --reset com.obsproject.StudioIf you would rather click than type, the Flatseal app (itself a Flatpak) presents every permission as a toggle. On a security-minded system it is worth reviewing what an app requests before granting it; the default manifests from Flathub are sometimes more permissive than you need.
Installing Snap on Parrot Linux
Snap is Canonical’s format, and on a Debian-based system it needs a little more than Flatpak does. The daemon, snapd, is in the Debian repositories, but it relies on AppArmor being active and on a /snap path that Debian does not create by default. Open each tutorial step with your own machine in mind: these commands alter the base system more than Flatpak does.
sudo apt update
sudo apt install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snapThe symlink matters: many snaps are built assuming the Ubuntu layout where /snap exists, and without it they fail with confusing errors. After that, install the core snap, which every other snap depends on, and log out and back in so that /snap/bin lands on your PATH:
sudo snap install coreConfirm it is working with a tiny test snap and then remove it:
sudo snap install hello-world
hello-world
sudo snap remove hello-worldAppArmor, Firejail and why a snap might refuse to start
Snap confinement is built on AppArmor, and Parrot enables AppArmor by default, so this part normally just works. You can check that the AppArmor profiles for snapd loaded correctly:
sudo aa-status | grep snap
systemctl status snapd.apparmorIf snapd.apparmor is inactive, start and enable it, then reboot. Parrot’s AppArmor page covers how to read aa-status output when something is in complain rather than enforce mode.
The second layer specific to Parrot is Firejail. Parrot wraps many desktop apps in Firejail profiles automatically, and a snap or Flatpak that is itself already sandboxed does not expect to be launched inside another sandbox. If an app starts from the terminal but not from the menu, or shows a blank window, check whether Firejail is intercepting it:
firejail --list
ls -l /usr/local/bin | grep firejailFlatpak and Snap launchers are usually not symlinked into Firejail’s wrapper directory, so this is rare, but it is the first thing to rule out. The Firejail guide explains how to exempt a single program if you do find a conflict.
Common problems and fixes
- App not in the menu after install. Log out and back in. If it still does not appear, run
update-desktop-database ~/.local/share/applicationsfor user installs. - “error: cannot communicate with server” from snap. The socket is not running:
sudo systemctl start snapd.socket, then retry. - Flatpak app cannot see the GPU or runs slowly. Install the matching runtime extension, for example the NVIDIA driver extension that Flatpak offers when it detects the proprietary driver, and compare against the GPU driver notes.
- Themes look wrong inside Flatpaks. Flatpak apps use the GTK or Qt theme from their runtime. Installing the Flatpak version of your theme, or the
org.gtk.Gtk3theme.*package that matches it, fixes most of the mismatch. - apt complains after installing snapd. This is almost always an unrelated dependency state. The apt error guide shows how to read the message and recover without removing anything by hand.
- Disk filling up.
flatpak uninstall --unusedandsnap set system refresh.retain=2(which keeps only two revisions per snap) recover most of it.
Keeping the base system clean
A reasonable long-term setup on Parrot looks like this: Flatpak enabled with Flathub for the handful of desktop apps you actually want current, Snap installed only if one of your required apps forces it, and everything else left to apt and parrot-upgrade. Keep the three update commands in a single script or alias so that none of them is forgotten:
sudo parrot-upgrade
flatpak update -y
sudo snap refreshUpdating in that order matters a little: the base system first, then the sandboxed layers that sit on top of it. If a Parrot upgrade changes the kernel or AppArmor, a reboot before refreshing snaps avoids the daemon running against stale profiles. When you later decide you do not need Snap at all, removal is clean: sudo snap remove each snap, then sudo apt purge snapd and delete the /snap symlink.
For developers who prefer a different isolation model entirely, Docker on Parrot Linux offers per-project environments without touching the desktop app layer, and it coexists with both formats described here.
Official sources for both ecosystems are Flathub for Flatpak apps and Snapcraft for the Snap Store; each lists an app’s requested permissions on its page, which is worth a glance before you install.
FAQ
Is Flatpak safe to use on a security distribution like Parrot OS?
Yes, with the same caution you would apply anywhere: install from Flathub, review permissions with flatpak info --show-permissions, and avoid adding third-party remotes you do not trust. The sandbox is a real boundary, but a permissive manifest can poke holes in it.
Can I install Parrot’s security tools through Flatpak or Snap?
Not sensibly. Tools like Nmap, Wireshark and Metasploit need raw sockets, kernel modules or system-wide access that sandboxes deliberately block. Keep those on apt through the Parrot repositories, which also carry the project’s own patches.
Which uses less disk space, Flatpak or Snap?
Check on your own system with du -sh /var/lib/flatpak /var/lib/snapd. Both share runtimes between apps, so the per-app cost falls as you install more; the first app of each format is the expensive one.