On Ubuntu we have Snap.
On Fedora and other distributions we have Flatpak.
Flatpak is developing itself more like a distribution independent standard.
And it's the alternative for Snap.
It doesn't work with a centralized application store, but it works with remote repositories.
And like Snap, it installs applications in an isolated containerized environment.
Let me show you how it works for your convenience. All the steps are on the slide right here.
To start it, I need to install the FlatPak package, sudo dnf install flatpak.
Next I need to install the Flatpak repository.
So Flatpak remote add if not exists.
Flathub, that's the name of the Flatpak repository.
And The URL is flathub.org repoflathub. Flathbackrepo.
This requires sudo privileges, so I need to enter my password and then.
Well, the procedure is a little bit different.
You would start a Browser now on CentOS. By default, on CentOS 10 you don't
get the browser. So I need sudo dnf, install Firefox, otherwise there's no browser.
And now I can start my browser.
And that's kind of funny if you want a graphical interface for Flatpak, the browser, in fact is the default graphical interface.
So in a browser I go to flathub.org and there I
can look for packages and I can download my packages.
So I want to work with the gimp, the graphical image manipulation program.
So here we can see what it stands for. And in fact it was GNU Image Manipulation Program, not graphical whatever.
So it's a nice application, it's a graphical application. But hey, that's what Flatpak and
Snap is all about anyway. It's more about desktop applications than about server applications.
So I'm going to click Install and there we
can see that it already completed the installation.
Now, the installation at this moment is a little bit confusing because
you might think, oh, now we are done. Well, in fact, no.
So let's check that the package exists. It's in the downloads directory.
And I can use
FlatPak install of downloads.
Org, gimp, gimp, Flatpack, Refresh, and that will install the package.
So it has found a runtime and do I want to
install that? Yes, I would like to install that.
And yes, I would like to proceed with all of the requested changes.
Now, Flatpak applications are developed to run in complete isolation, and as such the result
is that you need to install more files than you do for a normal application.
Don't be surprised if a single Flatpak application is in the hundreds of megabytes of data.
All right, installation is complete.
So we can verify using flatback list and there we
can see all the different components that have been installed.
And that means that the GIMP application at this moment is ready for use. That's how you work with Flatpak.
So you might wonder, how are we going to access it?
Well, GIMP is a graphical application. So I would say go to the search bar and type GIMP and look
there we have the gimp, the GNU image manipulation program, ready for use. So that's what Flatpak is doing.
The distribution independent alternative for Snap on Ubuntu.