INSTALL ANY GNU / LINUX APPLICATION IN DEEPIN

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.

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:

Deepines Store

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.

WARNING! A very frequent error in new Deepin users coming from Ubuntu or derived is trying to add PPAs, which are software repositories designed for Ubuntu or derivatives and used in Deepin can break the system.

Podcast

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.

FlatpakSnapAppImage
Installation methodThe "flatpak" package is installed, the repository is added. Once this is done, the programs are installed with "flatpak install" program_name.
 More info
The "snapd" package is installed, the repository is added. Once this is done, the programs are installed with "snap install" program_name.
More info
The file is downloaded, given execute permissions, and executed
UpdatesCommand "flatpak update"Command "snap refresh"Downloading new version from your website (more tedious)
Hub (website that collects the programs)https://flathub.org/homehttps://snapcraft.io/storehttps://www.appimagehub.com/
App startup delayMeansSlowQuick
App space usage on diskHeavyMeansLightweight
Comparison table between universal packaging formats for GNU / linux

GitHub

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.

Docker

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.


**[1] Repository - Collection of one or more applications downloadable from a server

**[2] Dependencies – Es una aplicación requerida por otro programa para poder funcionar correctamente

4.9 31 votes
Rate the Article
 
Subscribe
Report of
8 Reacciones
More popular
Newer Older
Opinion from the article
See all comments
Эли
Эли (@eli)
Admin
26 días atrás

Very complete and well written Jorge Kenobi, excellent article.

Alex Andrade
Alex Andrade (@alex-andrade-30)
26 días atrás

Interesting material and quite easy to digest, excellent guide for everyone.

Juan Carlos
Juan Carlos (@juan-carlos)
25 días atrás

I always prefer deb packages, I don't know why, but I have never liked the other variants.

TonyRevuelta
TonyRevuelta (@tonyrevuelta)
Answering to Juan Carlos
25 días atrás

The best is relative, if the application you are looking for is not available as it should and only exists as a flatpak, then which one is the best for you?

Céssar
Céssar (@ppjc72)
24 días atrás

Good stuff was needed.

LeviB
LeviB (@levib)
19 días atrás

It is an excellent guide, very complete all the explanation, thank you very much.

Armando-Lio
Armando-Lio (@armando-lio)
11 días atrás

Very clear explanation for newbies, congratulations!

Luis Sosa
Luis Sosa (@luissosa987)
8 días atrás

I don't know why it happens, but in my experience flatpak are faster than appimage. but as they say, everything has its good parts and others not so much.

8
0
We would like to know what you think, join the discussion.x
()
x