Bonum Certa Men Certa

What are Flatpaks and How Do They Help on a GNU/Linux Distribution Such as Debian? Why Are They Better Than Snaps?

Guest post by Ryan, reprinted with permission from the original

Flatpak picture



Every GNU/Linux distribution has a “native” package manager system.



In Debian-family distributions, this has normally been Debian Packages. (Although, arguably, Snap may eventually replace it in Ubuntu.)



These DEB files, managed by dpkg, are in turn managed overall by the Advanced Packaging Tool, or Apt, which tracks dependent libraries and programs of what the user is trying to install, and which offers to clean up orphaned packages when nothing is left that requires them.



"One thing that these different systems have in common is they’re basically incompatible with each other, even when it’s the same package management system on each distribution."In Red Hat distributions, these are RPM files, managed by…well, RPM, which in turn is now managed overall with dependency tracking and orphan cleanup by DNF (still called YUM in Red Hat Enterprise Linux, but it’s DNF now in RHEL 8).



One thing that these different systems have in common is they’re basically incompatible with each other, even when it’s the same package management system on each distribution. If you install an Ubuntu package or software repo in Debian, you’ll probably break Debian, and vice versa, and the same holds true with Fedora, OpenSUSE, and Mageia, even though they all use RPM.



Sometimes you can get away with it, or the author has taken into account that he or she needs to set the stuff in a place where it won’t collide with anything from such a distribution, and you have “universal” RPMs or DEBs that you can install locally, but this is also a pain because it’s not guaranteed to work.



Enter Flatpak.



Flatpak, formerly called xdg-app, is a “universal” package system for GNU/Linux distributions, where developers can write a program, build it once, and deploy it to users of multiple, otherwise quite incompatible GNU/Linux distributions, and it works. Why? They’re fairly self-sufficient in “containers”, and while they have dependencies, they can satisfy them by bringing in those other Flatpaks which contain the foundations the program needs.



In fact, when most people (including me) first see the disk space calculation to install a Flatpak app, they freak out because it’s misleading. It looks like they’re gigantic, but they’re really not that bad. First of all, the more of them you install, the more dependencies you’re going to get, and eventually the next programs you get will need less and less that you don’t already have.



Then, there’s the fact that the containers are compressed.



They install very quickly, and I’ve been messing around and have converted several of the applications I use to Flatpak format and I’m finding the system quite fast. There actually is not much in the way of “install” because it just puts them where it puts them and that’s basically it.



Applications default to being installed for all users on the system, but can be installed for a particular user. Although for the sake of efficiency, you probably want system-wide installations.



Every once in a while, you should run flatpak uninstall –unused to remove orphans, but in my case there are none at the moment.



How does this help a desktop user?



Well, it helps in a few ways.



"...Flatpak lets you have your Debian cake and eat it too."You get software a lot faster than a distribution is going to package it, at least if you use a Debian or Enterprise or Long Term Support distribution, where the packages available in the native format can go stale rather fast.



On a system like Fedora, where applications are packaged rapidly from upstream, or a rolling release like Manjaro or Arch, or even a 6 month release of Ubuntu, this may not be as important, but these systems exact a toll on the user by forcing them to stop and deal with problems along the way, including in the core OS, the desktop environment, etc. All of which is essentially super stable and maintained with security and bug patches in a longer-lived distribution.



In other words, Flatpak lets you have your Debian cake and eat it too.



When I was a Fedora user, I used to spit and curse all the time when they brought in some new kernel that did more harm than good. They always do more harm than good once your computer works well enough that you’d be better parking yourself on a LTS Linux kernel. (These special kernels are maintained for years by various stakeholders and get hundreds of stabilizing releases, and a little new hardware support if it won’t risk rocking the boat too much.) Other parts of the system could be brought in by Fedora that do something terrible.



Once, they brought in a new build of the 32-bit x86 libc that contained “optimizations” that turned out to brick some of my Steam games and I had to wait for them to revert it. When they’re just bringing in new junk all the time and pimping your ride, you just never know what will happen next. It’s barely tested. In fact, you are the tester.



Then, a while later, they brought in a Linux kernel where Intel tried closing a minor security problem in the graphics driver by disabling its power management, thereby causing my Skylake U-based Yoga 900-ISK2 (which was basically a SoC architecture design) to consume twice as much power. All of a sudden, my usual 6-8 hours away from the wall became 2 or 3, and I had to back out that kernel and go to an older kernel _and_ version-lock it.



By the time Intel “fixed” the power mess, by giving up on fixing the security issue (LOL), my computer had over 160 unpatched security vulnerabilities before I could upgrade the kernel again.



"It used to be that Fedora was more hit or miss, and now it’s just some janky semi-rolling crap that IBM hardly even cares about."

Now I can just strap some Flatpaks onto Debian 11 and let Debian worry about keeping the underlying system nice and stable, and my computer working properly, and if there is a failure in one of my Flatpak apps, at least it doesn’t spill out and ruin the entire OS like a bad OS update could.



It used to be that Fedora was more hit or miss, and now it’s just some janky semi-rolling crap that IBM hardly even cares about.



Flatpak also gets around distribution packaging policies that you don’t agree with.



Debian has their “Free Software Guidelines” and for the most part, this helps us because they’re not spamming proprietary software, but sometimes you want a program like SNES9x, which Debian considers non-Free because it has source available, you can redistribute it with modifications, but you can’t use it for commercial purposes.



In other words, you don’t care. Why would you care if a company can make a product with SNES9x? You just want to load ROM files in it and play Super Nintendo games.



Flatpak has it. Honey Badger don’t care about no commercial use on an SNES emulator.



There’s also a potential security upside with Flatpak applications.



Thanks to sandboxing and a permissions system, they might be safer than non-Flatpak applications, especially if they have to handle untrusted data from the Internet, or run media codecs, which are notoriously insecure.



Web browsers and VLC are in Flatpak format.



Flatpak is the end of dependency hell, system file stomping from third party repos, and many other kinds of problems.



When you add third party repositories to your distribution’s package manager, and that person doesn’t take care to get along with the OS and not overwrite any of its files, or you install multiple such repositories, you can end up in big trouble really fast.



In fact, OpenSUSE used to encourage the user to set up multiple such repositories to get extra software, and then the system was immediately broken at setup with food fights over which version of what package to install, which broke this or that, and then broke the package manager and then the OS was ruined.



Although that was an extreme example. Most distributions are smart enough not to do this. Stupid krauts.



How is the system integration?



Usually pretty good. I noticed that Debian doesn’t install the Adwaita-Qt theme or set the environment variable to make sure Qt applications look close to native on your GNOME desktop, especially if you use dark themes. I love dark themes.



"...you may hit minor bumps here and there, but overall they integrate pretty well with the system."You can either set up Adwaita-Qt, or you can let Flatpak handle your Qt or KDE apps, like VLC (Qt) and Krita (KDE). Normally, APT would just bring in a ton of stuff from Qt and KDE and then maybe it does a good job tracking and getting rid of it if nothing needs it, and maybe it doesn’t.



I tweak my GNOME settings to work better as a more traditional desktop, and to look more “correct” for an American PC user, and to blow away some of the settings that I’ve always hated, like middle click paste.



While I was messing around with Flatpak Firefox, I noticed it was middle click pasting. Well, this is a problem because I enable autoscroll in about:config, and so every time I’d hit scroll, it would paste random crap into a blog post or something, so I had to go back into about:config and find a setting to disable middle click paste. The Firefox ESR from Debian respects your system settings.



So you may hit minor bumps here and there, but overall they integrate pretty well with the system.



How do Flatpaks compare with Snap from Ubuntu?



I hate Snap, and that won’t change. I think they implemented it poorly.



It requires a system service that takes hundreds of MB of RAM to manage the software images. Flatpak doesn’t.



When I tried using Snap on Ubuntu, there were many Snaps that just didn’t work at all, and one of them was GZDoom, which I have installed on Debian 11 as a Flatpak, and which works fine.



Snaps require AppArmor, which Debian has since version 10 (but not all distributions do!), or else there’s no sandbox at all, Flatpaks have their own sandbox methods. Snaps are bigger and don’t integrate as well with system settings. Flatpak is Free Software on the client _and_ server side, but Snap is totally proprietary on the server side and only Canonical can run a Snap store.



Canonical claims that Snaps are universal “Linux” programs, but it doesn’t really work properly on other distributions, and most of them have rebuked Snap in forceful language and purged it from their distribution completely, including the Ubuntu-based Mint and Fedora.



Microsoft loves Snap. Of course, when they packaged a DEB, they clobbered Debian system files with it, so when they’re too $%#$ing stupid to package an application and they love Snap, you should know to run. Hell, they screw up their own OS all the time with bad updates.



So I hope this encourages some interest in Flatpak.



I think it’s a really neat and exciting software management system that compliments the usability of a very stable and long-lived distribution such as Debian. ⬆

Recent Techrights' Posts

Today The Register MS Showed Loyalty to the Pyramid Scheme With Homage of Paid Spam About "AI"
The Register MS is disavowed by its founder, who died a few years ago (The Register MS didn't even mention this)
Intercontinental Brigading - Part XXXXXV - Acts of Hypocrisy (Doing What You Accuse Others of Doing)
connected to my criticism of "Restricted Boot"
Mainstream and Establishment Media Trying to Connect "Open Source" to White-Collar Crimes and Scandals at Fraudulent NVIDIA
An associate us said that "MIT lies to smear OSS"
Staff Union of the European Patent Office (SUEPO) Looking to Extend Industrial Actions and Strikes to Almost 1.5 Years
It says a lot about the media that for 1.5 years staff is on strike in the second-largest organisation in Europe and the media pretends it's not happening
 
Lots of IBM Layoffs in Slovakia This Year
Slovakia and Europe at large
There May be Little or No Future for IBM Consulting
IBM is believed to be run by parasites
At Least Three RMS Talks Next Month in Mexico (Richard Stallman Has 8+ Talks in a Month)
And also - possibly with slop - in social control media
Mass Layoffs at Salesforce Foretold by Techrights
Salesforce is dead meat and it's not alone
Gemini Links 18/11/2026: Creativity, MFA Hype, and Presto Music
Links for the day
Links 18/11/2026: More GAFAM/Apple 'Clown Computing' Outages and Deutsche Bank Leak, Banks' Downtimes
Links for the day
Staff Union of the European Patent Office (SUEPO) Plans General Assembly Next Week, Vote Planned to Approve 7+ More Months of Strikes
The "Agenda" is the same as what we showed yesterday, but the pattern of the actions varies somewhat
IBM's Red Hat a Microsoft Reseller (Second Day in a Row)
If you want a replacement for Microsoft, look somewhere other than Red Hat
After the Bubble Pops the "AI Experts" (Formerly "Data Scientists" or Whatever) Will Rebrand Themselves Again
Remember blockchains and metaverse?
Links 18/11/2026: "Fossil Fuel Companies Are Undermining Democracy" and "Lawyer Up, Elon"
Links for the day
Lawfare Will Continue in 2027
We're dealing with defiant Microsofters who wrongly assume that accurate reporting that causes them distress somehow makes them entitled to money
On the Concept of Moral Obligations to Make the World a Better Place for Everybody
The world generally becomes better when more people challenge the status quo rather than bow down to masters
Nadella Talks About 60,000 Microsoft Workers Having to Decide Whether to Leave (in the Next 2-3 Weeks), They've Been Put on Notice
Some parts of Microsoft are poised for severe cuts
IBM Moved From Selling Technology to Selling Its Buildings
IBM is trying very hard to silence/crush critics
Richard Stallman's Talk in Quito This Week (At Least 5 Talks After That)
He's having a busy end of year
Gemini Links 18/11/2026: "Love For Old Devices" and New Software/Slop-ware Releases
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, November 17, 2026
IRC logs for Tuesday, November 17, 2026
Gemini Links 17/11/2026: The RAM Question and Lagrange Sync
Links for the day
EPO Strikes to Continue Until Summer of 2027 (If Not Further) Based on Existing Plan
It'll never end until the dictatorship ends
Intercontinental Brigading - Part XXXXXIV - Hostility Towards Media, Coming From People Who Promote Microsoft Back Doors and Engage in Mass Plagiarism, Attack Women Etc.
The core issue or the seminal issue is Microsoft as the "master" of all computers
Trading 212 UK Limited Acting Like a Scam, FCA Says It's Legitimate
If this was some coy prank or a scam, it is certainly not funny
Richard Stallman's Talk Earlier Today and Next Month's Appearance in Mexico
He seems to have managed to dodge the 'cancel mob' for quite some time now
The Cost of Losing Integrity at The Register MS
Recently we learned that they make a "ton of money" out of their Huawei spam
Links 17/11/2026: Jensen Huang's Price-Fixing Story, "Russian Attacks Aimed At 'Breaking The Spirit' Of Ukrainians"
Links for the day
NVIDIA Continues Diving and Press Reports Speak of Business Crimes of Jensen Huang (Not China or Sex)
The deeper they go...
Gemini Links 17/11/2026: Super Power, Knowember, Writing in Shorthand, Cooking over a Woodstove, Decoupling Code and Content
Links for the day
Links 17/11/2026: California Sues Slop Peddlers and Nvidia Was Already in Trouble Before the Jensen Huang Mess
Links for the day
An American and South Korean Cartel Artificially Inflating the Prices You Pay for Computers (or Any Service That Relies on Computers, I.e. Almost Everything)
As long as the principal tenant of the White House is a white-collar criminal we can expect only cover-up and participation, not a crackdown
NVIDIA Corp Was Grossly Overvalued, Lost 36.06% of Alleged "Market Value" in 5-6 Weeks
NVIDIA has many of "obligations" (to pay), not money
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, November 16, 2026
IRC logs for Monday, November 16, 2026
The EPO Still on Strike. 141 Tickets Opened Regarding Lack of Toilet Paper (or Similar).
Yesterday staff representatives at the EPO in The Hague (LSCTH] spoke of a meeting which took place a month ago
Intercontinental Brigading - Part XXXXXIII - An Attack on the Dignity of Reporters and Their Family Members (by Proxy/Attack Dogs)
The Microsofters seem to be super-upset that I uncovered Microsoft fraud
IBM and OSI Said opensource.net Would Replace opensource.com, But It Has Been Dead for 1.5 Years and the Person Who Had Made Promises Left OSI
Over a year ago he left
Red Hat and IBM Meet Targets (of Pushing People Out)
now there are claims of security breach inside IBM, but no press reports related to that
Gemini Links 17/11/2026: Reading Clocks and StreetComplete
Links for the day
Buy Influence "Over Dinner With The Register."
The Register MS is the facilitator or 'pimp'
While the Slop Industry Wobbles The Register MS Bags Tens of Thousands of Pounds to Publish Propaganda With "AI" 23 Times in It
The Register MS is selling its reputation away
The Real News About the White House (Not the 'Exclusive' Rupert Murdoch Published for It at Midnight Monday) is Complicity in NVIDIA Fraud
They need a distraction from commercial malpractice
Links 16/11/2026: Microsoft Increases Indian Clown Computing Prices by 15%, Meta Fined $887 Million in Italy
Links for the day
Gemini Links 16/11/2026: Container Gardening, Laughing at an LLM, "EU 72-Hour Guidelines Through a Lawyer's Eyes"
Links for the day
I Tried Linux Again After 10 Years - Here's What Blew My Mind
It's like leaving your hometown as a teenager and coming back to find the weird kid from high school is now the mayor
Links 16/11/2026: Data Centers (White Elephants) as Tax Evasion Scam/Ploy, Social Control Media Harms Boomers, "Microsoft Outage Hindered Ticket Issuance in Greece"
Links for the day
The Register MS Seems to Have Moved to 'The Cloud' (WeWork) After Shutting Down the Office
The Register MS will have a hard time explaining why it so passionately participated in the "hey hi" pyramid scheme
Holiday Plans (We Need More IBM Whistleblowers)
in particular with possession of material in relation to PIPs, NDAs, and silent RAs
After Microsoft Outage GNU/Linux Usage Leaps to 9% in the UK (Where Public Services Were Notoriously Overdependent on Microsoft Disservices)
in the UK we are extremely dependent on Microsoft stuff in the NHS, courts, law firms, police etc.
Richard Stallman Was Right About the Corruption of the Term "Artificial intelligence"
This will do severe damage to the administration which participated in the scam
The Dictatorship Already Working to Distract From NVIDIA Corruption and Slop Bubble Reaching Its Limits
Circular financing is simply a form of financial fraud
IBM Selling Itself, Piecewise, to Raise Money (to Pay Salaries)
IBM is a zombie waiting to inhale one last time (last breath)
"Allies" of Disgraced NVIDIA CEO Aren't About Morality, They're Just Covering Up Their Own Backs (and Loans)
The next stage is examining the false accounting (fraud basically)
No Outage Since 2023
I did host from home between 2020 and 2023
Intercontinental Brigading - Part XXXXXII - Back Doors and Kill Switches From Microsoft Are Objectively Undesirable
"I dual-boot Omarchy and Windows. Be careful updating your BIOS. Mine made Omarchy unbootable."
Gemini Links 16/11/2026: Enjoyable Coding, Social Control Media Considered Harmful, and Recursive Rectangular Subdivision
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, November 15, 2026
IRC logs for Sunday, November 15, 2026