We could call it the "Cousin" of the "Snap" packages powered by Canonical(But with an advantage; they do not repeat dependencies thus minimizing their weight). It is an idea that is not new but the Chief Engineer of RedHat along with the rest of the community and organizations has voluntarily developed it quite well (Consult your code on Github by clicking here), a large part of the applications of Deepin they can be installed in this format, just open the store and write "flatpak" to see the team's bet Deepin Wuhan Technologyby this package technology "Self-contained". There is currently no "GUI" or graphical interface for Flatpak packages in deepin except for native applications, so everything is done by writing and pasting commands in the terminal.
Unlike "normal" applications that make use of system dependencies, flatpak packages contain all the dependencies they need to run the application (This technology is known asProcess Isolationorisolated environment-of Englishsandbox-), the isolation will be of the dependencies, as well as the application code not having contact with the system, so if we update our system, on the one hand it will relieve the load of the update since it would be focused on the system and not In the applications, in addition there would be no conflict between the dependencies of the system and the application and not only that, but being isolated, the infection of the system by malicious agents would be prevented. We can also take advantage of this way of installing applications, so it is necessary to know the work that is carried out in Flathub.
Here is a list of «flatpak» applications that can be installed (In my case the one that matters most to me is 0 AD whose version in the «deepin» repositories is 0.0.21 when there is already 0.0.22 but I have made it very difficult to install in the distribution because the latest version generates dependency conflicts with the system, which does not happen when installing it using this method)
To install any of the applications that Flathub offers us, first of all we must place the following command lines in the terminal:
update && sudo apt sudo apt install Flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Then installing any of the applications from the terminal is very easy, you just have to consult the commands, for this on the Flathub site, press where it says "Command Line"
You will get a list of applications with their respective commands, it only remains to paste them in the terminal, in my case as an example, I have chosen Transmission.
Once the download is finished (which would take longer than an installation through «APT» because it would download all the necessary dependencies), it will be installed automatically and we can run the application from the icon that will be created in the Launcher.
View apps, update and uninstall
The principle is very similar to that of «TOdvancedPackageTool ". To see the flatpak applications that we have installed on our system, we must write the following command line:
You can see that their names are a bit long, because those names as they appear there we will use them to carry out an uninstallation (Of course you can also do it from the launcher by right clicking the icon to open the menu and selecting "Uninstall"):
To update, the command line is as follows, this will update all the applications you have installed easily and simply, while you can take care of doing other tasks:
In my case, it found updates for Discord.
There are other repositories where you can get more applications, examples KDE:
flatpak remote-add --if-not-exists kdeapps --from https://distribute.kde.org/kdeapps.flatpakrepo
Some are not official, but are created by volunteers, Click here to view.
Did you find a repository? Let me know in the comments, thanks for reading 🙂
Now you will have the possibility to install the gnome-software-plugin-flatpak package from the repositories, I personally installed it from Synaptic, with that installed you will be able to click on any flatpak file that you download «.flatpakref» and you will be able to install it graphically.