1 00:00:06,759 --> 00:00:07,839 On Ubuntu we have Snap. 2 00:00:08,580 --> 00:00:11,580 On Fedora and other distributions we have Flatpak. 3 00:00:12,460 --> 00:00:16,879 Flatpak is developing itself more like a distribution independent standard. 4 00:00:17,730 --> 00:00:19,129 And it's the alternative for Snap. 5 00:00:19,769 --> 00:00:24,670 It doesn't work with a centralized application store, but it works with remote repositories. 6 00:00:25,289 --> 00:00:29,649 And like Snap, it installs applications in an isolated containerized environment. 7 00:00:30,620 --> 00:00:35,119 Let me show you how it works for your convenience. All the steps are on the slide right here. 8 00:00:36,039 --> 00:00:40,740 To start it, I need to install the FlatPak package, sudo dnf install flatpak. 9 00:00:46,280 --> 00:00:48,590 Next I need to install the Flatpak repository. 10 00:00:49,229 --> 00:00:55,420 So Flatpak remote add if not exists. 11 00:00:57,170 --> 00:00:59,829 Flathub, that's the name of the Flatpak repository. 12 00:01:00,649 --> 00:01:06,620 And The URL is flathub.org repoflathub. Flathbackrepo. 13 00:01:17,849 --> 00:01:22,760 This requires sudo privileges, so I need to enter my password and then. 14 00:01:23,329 --> 00:01:25,090 Well, the procedure is a little bit different. 15 00:01:25,849 --> 00:01:32,659 You would start a Browser now on CentOS. By default, on CentOS 10 you don't 16 00:01:32,659 --> 00:01:39,469 get the browser. So I need sudo dnf, install Firefox, otherwise there's no browser. 17 00:01:42,310 --> 00:01:43,750 And now I can start my browser. 18 00:01:44,299 --> 00:01:50,549 And that's kind of funny if you want a graphical interface for Flatpak, the browser, in fact is the default graphical interface. 19 00:01:52,370 --> 00:01:58,580 So in a browser I go to flathub.org and there I 20 00:01:58,580 --> 00:02:04,790 can look for packages and I can download my packages. 21 00:02:05,629 --> 00:02:11,270 So I want to work with the gimp, the graphical image manipulation program. 22 00:02:14,870 --> 00:02:21,770 So here we can see what it stands for. And in fact it was GNU Image Manipulation Program, not graphical whatever. 23 00:02:22,370 --> 00:02:27,235 So it's a nice application, it's a graphical application. But hey, that's what Flatpak and 24 00:02:27,235 --> 00:02:32,100 Snap is all about anyway. It's more about desktop applications than about server applications. 25 00:02:32,620 --> 00:02:36,400 So I'm going to click Install and there we 26 00:02:36,400 --> 00:02:40,180 can see that it already completed the installation. 27 00:02:40,879 --> 00:02:45,599 Now, the installation at this moment is a little bit confusing because 28 00:02:45,599 --> 00:02:50,319 you might think, oh, now we are done. Well, in fact, no. 29 00:02:52,280 --> 00:02:56,030 So let's check that the package exists. It's in the downloads directory. 30 00:02:56,569 --> 00:03:00,235 And I can use 31 00:03:00,235 --> 00:03:03,900 FlatPak install of downloads. 32 00:03:07,719 --> 00:03:13,016 Org, gimp, gimp, Flatpack, Refresh, and that will install the package. 33 00:03:13,016 --> 00:03:18,313 So it has found a runtime and do I want to 34 00:03:18,313 --> 00:03:23,610 install that? Yes, I would like to install that. 35 00:03:24,169 --> 00:03:28,590 And yes, I would like to proceed with all of the requested changes. 36 00:03:29,229 --> 00:03:34,175 Now, Flatpak applications are developed to run in complete isolation, and as such the result 37 00:03:34,175 --> 00:03:39,120 is that you need to install more files than you do for a normal application. 38 00:03:39,740 --> 00:03:44,939 Don't be surprised if a single Flatpak application is in the hundreds of megabytes of data. 39 00:03:49,590 --> 00:03:51,270 All right, installation is complete. 40 00:03:51,770 --> 00:03:56,650 So we can verify using flatback list and there we 41 00:03:56,650 --> 00:04:01,530 can see all the different components that have been installed. 42 00:04:05,150 --> 00:04:10,409 And that means that the GIMP application at this moment is ready for use. That's how you work with Flatpak. 43 00:04:12,150 --> 00:04:14,550 So you might wonder, how are we going to access it? 44 00:04:15,139 --> 00:04:22,029 Well, GIMP is a graphical application. So I would say go to the search bar and type GIMP and look 45 00:04:22,029 --> 00:04:28,919 there we have the gimp, the GNU image manipulation program, ready for use. So that's what Flatpak is doing. 46 00:04:29,899 --> 00:04:35,170 The distribution independent alternative for Snap on Ubuntu.