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

Father of XBox Says What Microsoft Does Not Want to Hear About XBox (They All Know It's Dead)
Microsoft just worried shareholders will find out Sharma is "just a face" and an undertaker
France Needs to Focus on Software Freedom, Not Flags
We need more SIP advocacy!
Combatting Censorship in the "Civilised World": The Media Blackout Surrounding EPO Strikes and Other Large-Scale Actions
We - collectively speaking - cannot afford to keep the Office in the hands of a "Mafia"
EPO Strike Actions and Other Industrial Actions Are Effective When Management Fears the Staff and Staff No Longer Fears Any Managers
'António the unready' should get ready to be ousted
IBM Did Not Fall Because of COBOL Vapourware, IBM Still Collapses Because It's Worthless, Way Overvalued, and Very Likely Cooks the Books
language-to-language conversion (in the context of programming) is nothing new
Quitting Reddit (Social Control Media Controlled by Conde Nast)
There is a new post in Reddit
Links 24/02/2026: Telephone Turns 150, Political News Catchup, and Rearmament
Links for the day
 
Gemini Links 24/02/2026: x86 Computer In-Browser and Administration
Links for the day
Envy is the #1 Enemy of Richard Stallman
Whenever you see someone mocking Richard Stallman, ask yourself: does this person have a reason to be jealous of Richard Stallman?
Life is Sweeter When Less Means More
People need to think "small", not "big" (as in capital)
Championing a Cause
Probably over 100 million GNU/Linux users on laptops/desktops
Balmoral rape cult & Debian suicide cluster indifference, community
Reprinted with permission from Daniel Pocock
Can Much Longer Can the Financial 'Press' (Pump-n-Dump Megaphone) Cheer for IBM's Accounting Enigma?
IBM has fallen almost 25%
Religious or Not, Consider Quitting Social Control Networks (All of Them) This Season
Lent is a good time to quit addiction such as social control media
Liberating the Self From the Invisible Prison of Plutocrats-Controlled Media and Social Control Media
Can you always see the full picture or does something (someone powerful) obstruct it?
Links 24/02/2026: Drug Cartel Decapitated, Jeffrey Epstein-Connected 'Linux' Foundation Promotes Slop and Buzzwords at MWC Barcelona 2026
Links for the day
2023: Layoffs Are Because of "AI". 2024: Shares Up Owing to "AI". 2025: Shares Recently Fell Due to "AI". 2026 Forbes (Paid by IBM): Shares Falling is Good!
"AI" is smoke and mirrors
Bitcoin: Code of Conduct stifled open source concerns
Reprinted with permission from Daniel Pocock
Slop Boosters and 'Hype Agents' Render Themselves Irrelevant and the General Public Becomes Incredulous Due to "Bros Who Cry Wolf!"
It won't age well
"Half-baked Vibe Code Shipped Full of Errors"
Seems timely after our latest article
Links 24/02/2026: Copyright Litigation Over Anne Frank’s Diary, "Arrogance of Developers"
Links for the day
Another New Low for Solicitors Regulation Authority (SRA): Authorising Slop Disguised as "Legal Advice"
SRA is a lapdog - not a watchdog - of the "litigation industry"
EPO "Cocaine Communication Manager" - Part IV - "Many Jobs Were Given to Spanish Employees for No Related Skills At All"
The EPO's fate might be similar to that of the XBox
Gemini Links 24/02/2026: Hardware Tinkering and Slop Bots Attacking the "Small Web"
Links for the day
IBM is the World Champion at Layoffs and There Are Reportedly More Layoffs in IBM This Month (EU)
IBM fired 60,000 in 1993
Free Software is for Everyone
Young and old, rich and poor etc.
Gemini Links 24/02/2026: Voltage Divider on Slide Rule and Many Raspberry Pi Projects
Links for the day
Asha Sharma "a Palliative Care Doctor Who Slides Xbox Gently Into the Night"
2026 will probably be the last year of XBox
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, February 23, 2026
IRC logs for Monday, February 23, 2026
Probably IBM's Worst Day in Wall Street in Well Over a Decade
They try to blame some Anthropic slop, but that's just a distraction from IBM having nothing to offer
The Monday After the 9PM-on-Friday Prepared Puff Pieces-Under-Embargo Microsoft Strategy for XBox Collapse
There are more layoffs ahead at Microsoft's XBox
Kyndryl Also in a Freefall Today, James Kavanaugh's Accounting Skills Seem to be Based on Pumping and Dumping
What is the real value of Kyndryl when its debt is about twice its alleged "worth"?
Not Much Left to "Pump" in This Slop Bubble
let's hope that by the end of the year the whole bubble fully implodes
IBM Common Stock Crashes Hard (Almost $100 Below the Levels of February's Beginning)
Another Kyndryl?
Links 23/02/2026: Withdrawal From Slop and Ukraine Invasion Enters Fifth Year
Links for the day
Gemini Links 23/02/2026: Moving to Gentoo, Wake-on-LAN Script
Links for the day
Kyndryl Fell by About 50% in One Day, IBM Fell 23% in 20 Days
the IBM Titanic
Security and blobs, by Alex Oliva (GNU Linux-Libre)
Reprinted with permission from Alex Oliva
Trusting the Evil Maids
Don't listen to liars and frauds
Aaron Swartz Has Already Explained What Reddit/Conde Nast Meant to Him and Why We Should All Avoid Reddit If We Value Software Freedom
Aaron Swartz did not start Reddit
Valnet's Good Legacy of GNU/Linux Advocacy in Journalism Form
Let's hope they carry on like this
Techrights Thanks Every Single EPO Worker Who Went on Strike Today
We have so much in common
Coders and Thinkers
I used to be a hyper-productive coder; these days I do more thinking and writing
Slop (So-called 'genAI') is Not a Skill, Slop Gets You Suspended or Even Sacked, It Can Eventually End Your Career
Benj Edwards, a so-called 'Senior' so-called 'AI' so-called 'Reporter'
There is No Such Thing as "AI Skills", "AI Competency", "AI Fluency" Etc.
Slop does not give anybody an advantage
EPO Staff Union: The Strike Actions and Other Industrial Actions "Have Already Delivered Measurable Gains."
SUEPO Munich has just issued a statement to staff
Links 23/02/2026: "What Boston Will Cost Me" and Women as Hostages
Links for the day
IRC Usage Levels Seem to be Rebounding This Year
it looks like the total count (tally) of users increased a lot lately
Microsoft Tricked the Media Into Lying About Microsoft Layoffs in January. Now It Does the Same (in February).
Microsoft has got the media by the wallet (or balls)
Free Software Projects Become Slow Due to Slop
It does not improve efficiency or productivity, it reduces both
EPO Strike Has Begun (or Resumed)
The EPO status quo is untenable
Links 23/02/2026: US Surrenders to Climate Change (to Benefit Oil Companies and Slop), UK Court of Appeal to Hear Mazur
Links for the day
GAFAM Jobs No Longer Lucrative
Those days are long gone
Based on Insider Leaks, Asha Sharma's Job is to Kill XBox While Talking About "AI"
They cite SneakerSO
Germans Recognise the Contagion is Digital, Not Racial
How to dismantle or neutralise those weapons? Turn them off
Free Software (or Software Freedom) Ain't No Religion
It's hardly surprising that some of the loudest opponents of Software Freedom and its luminaries also disregard or bend facts
Dr. Andy Farnell Explains Why the Slop Industry is Like Trespassers and Thieves
interesting new article about robots.txt files
The Demise of the Solicitors Regulation Authority (SRA) and Profession Based Around Bullying With SLAPPs and Empty Threats
For press to survive and thrive in the UK we need the hired gun to be submerged
Linux Kernel 7.0 Release Candidate Comes Out, Stallman Turns 73 in Three Weeks
It predates Microsoft and Apple
In Greenland, Firefox's Gecko and KHTML (KDE, But Bastardised by Apple) Bigger Than Chrome
Are those Danes recognising the risk of monoculture?
Gemini Links 23/02/2026: Imperfect Journal, Evil, and "Progress Goes Boing!"
Links for the day
“Power is a Thing of Perception. They Don't Need to be Able to Kill You. They Just Need You to Think They are Able to Kill You” ― Julian Assange
When leadership becomes corrupt enough to lose a sense of authority its days are numbered; it'll be replaced
IBM Has Already Admitted 2026 Mass Layoffs (in 4Q Earnings Call)
We showed this earlier this month, but some people bring that up again
Reasons to Go on Strike in the European Patent Office (EPO)
If you live in Europe and don't work for the EPO, you can still help
First speech of Chanellor Hitler, Andreas Tille & Debian denounce Branden Robinson
Reprinted with permission from Daniel Pocock
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, February 22, 2026
IRC logs for Sunday, February 22, 2026
IBM Layoffs Definitely Still Happening
Contrary to what some apologists try to say
More and More Projects Quit Microsoft GitHub This Year, XBox Will See the Same
Microsoft GitHub's embrace of slop as "strategic" gives us a clue of what'll happen to XBox very soon
Google "Intelligence": Despite Slam-Dunk or "Smoking Gun" Proof, Drug Abuse in EPO Leadership is "Unverified Allegations"
Google's slop (so-called 'AI') lacks intelligence
8,000 Pages/Articles Per Year
We're eager to maintain a good production/publication pace and illuminate the sinister attempts to interfere with Freedom of the Press in the UK
Don't Use the Future Tense to Discuss the Slop Bubble
Wall Street does not react to reality; it reacts to panic, which is related to expectations
Gemini Links 22/02/2026: Okonomiyaki and Midcrunch Crisis
Links for the day
The Broken Window Industry and Its Ongoing Desires to Make Technology Less Dependable
Reliable computing is becoming harder to find
Freedom Means Accepting He or She Who is Different
In the Debian community we're sadly seeing some authoritarian overreach this month
New XBox CEO Typecast in Social Control Media
Microsoft apologists will fall back on (or shuffle between) the "racist" and "sexist" angle
Sites Without JavaScript Deserve Your Visits
We're not arguing that the Web should be as simple or barebones like Gemini Protocol/GemText
EPO Strikes Are Already Working
Campinos is already going "into hiding"
Microsoft Windows Falls to Another New All-Time Low in Guatemala, It is a Bottomless Pit
Maybe users come to realise that Windows means back doors and those doors are open to a regime that ought not be trusted
"XBox" Will Become Slop After Mass Layoffs
When all else fails, "AI it"
Links 22/02/2026: Hardware Price Hikes Across the Board, "Microsoft Issues Statement on Potential Layoffs"
Links for the day
Microsoft "Layoffs Incoming"
This transition isn't about promoting games; it's about canning the console
Links 22/02/2026: "Bloat of Modern Fitness Apps" and Wikipedia Deprecates Archive.today
Links for the day
Our IRC 5-Year Anniversary (for Self-Hosted) is Fast Approaching
A week from now it's March already
Gemini Links 22/02/2026: Dream Job Gone and Slop in Taskwarrior
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, February 21, 2026
IRC logs for Saturday, February 21, 2026