INSTALL APPLICATIONS IN DEEPIN
One of the big problems in GNU / Linux is that there are a vast variety of distributions, each with different installation methods, or with versions that only work on certain distributions, causing many of the programs available for one distribution to not be used in another. Deepinit is obviously no exception.
However, today there are already several solutions to obtain an application even when it is not in the application store. This text intends to instruct you on the different installation methods and that, in this way, you know how to obtain the applications that you miss in Deepin.
Table of Contents:
Deepin application store (AppStore)
Without a doubt, the most recommended and simple option. Whenever the application is in the store and you do not need (or want) to have the latest version of the program, I would opt for this method, since it will be more optimized in system resources than the alternative options and it will surely go away to better integrate with the operating system.
Curiously therepository* has more programs than are displayed in the store. If we want to obtain any of them, we can use the terminal (explained in the following link install programs with apt) or through a package manager, such as Synaptic (available in the store).
But what if the program is not in the store, or I want to have the latest version of it? In that case, we will use any of the following alternatives:
In the community Deepin in Spanish We work hard to minimize the shortcomings and failures that Deepin harbors. As a result of this effort, the Deepines Store, in which we add a large number of programs that we consider to be not sufficiently updated, as well as programs that are not directly in the system's own repository.
Installation via .deb file
It is the closest thing to a .exe Windows. You download it and with a couple of clicks it installs (as long as there are no problems with dependencies*). It has the same advantages as the installation from the store, only that in this case, we will use it to add external software to the Deepin repository. If there are several options, the safest thing is to download the deb for Debian, in the corresponding version on which the Deepin you are using is based.
Keep in mind that some .deb are simply not compatible with Deepin, or they can be installed, but forcing them, something that is not recommended, it also requires advanced knowledge to do it correctly and without breaking the system. If you have problems or doubts when installing .deb packages, we recommend consulting in the forum or in the Telegram community group.
Flatpak, Snap and AppImage
All of the above was based on the use of .deb files for the installation of the program, of whose efficiency there is no doubt, but it pales in terms of portability. In other words, a .deb for Debian may not work for Deepin and much less for distros that are not branches of Debian.
In order to deal with this problem, universal packaging formats for all GNU / Linux. These formats very frequently offer the applications updated to the latest version, however, they do not usually perform as well as the .deb ones and the integration with the system is worse (such as sales decorations or some functionality not being activated). In the following table we will make a brief summary of the most popular formats highlighting their strengths and weaknesses.
|Installation method||The "flatpak" package is installed, the repository is added. Once this is done, the programs are installed with "flatpak install" program_name.|
|The "snapd" package is installed, the repository is added. Once this is done, the programs are installed with "snap install" program_name.|
|The file is downloaded, given execute permissions, and executed|
|Updates||Command "flatpak update"||Command "snap refresh"||Downloading new version from your website (more tedious)|
|Hub (website that collects the programs)||https://flathub.org/home||https://snapcraft.io/store||https://www.appimagehub.com/|
|App startup delay||Means||Slow||Quick|
|App space usage on disk||Heavy||Means||Lightweight|
Many applications are available for download only on this platform. For developers it is a very useful tool. However, it is somewhat more complicated to install than the other methods. It is usually installed with the "make" compiler in a similar way to this example:
wget http://direccion_de_descarga_de_programa_de_ejemplo.tar.gz tar -xzf programa_de_ejemplo.tar.gz cd programa_de_ejemplo ./configure make make check sudo make install
This is not always the case, for this the developer usually adds the installation documentation in a readme or on the project website itself.
It is a packaging tool that adds all the necessary dependencies and isolates the program from the operating system and is mainly used to install programs on localhost and development environments for different programming languages. Like Github, it requires prior knowledge to install with this method, on our wiki you can see a introduction to Docker and how to install it.
Recapping all the above, Deepin offers a great variety of free software, but, generally, not in its latest versions. We have covered several options that will allow us to add additional software. Sometimes the program we are looking for is only available in one of the installation methods, in that case, we will have no choice but to use that method, but if the program can be installed in various formats, I would recommend that less expert users install preferably in the following order: Deepines Store> Flatpak or Appimage> Snap> Github> Docker, mainly considering the ease of installation.
** Repository - Collection of one or more applications downloadable from a server
** Dependencies – Es una aplicación requerida por otro programa para poder funcionar correctamente