How to Download and Install Programs in Linux


In fact, thanks to the repositories, we can even download console emulators, emulators that some companies like Apple and Microsoft consider it illegal, although they really aren’t, because what’s illegal is having a copy of a game that isn’t original.

When we want to install an application, Linux checks if it has everything it needs to install it. If so, it installs with no problem. But if you don’t have it, we have to tell you by adding a repository where you can find it.

In both the Windows Store and the Mac App Store, if the application we want to download is not available, we must go to the developer’s website to download the application and install it. Once installed, it also adds an uninstaller to be able to remove it from the computer when we do not need it. To uninstall applications in Linux, just open the corresponding store, it is not necessary to run an installer.

Also, most apps installed on Windows and macOS open when you start your computer in the background to check if new updates have been released. Whether or not there is an update, the application remains open and consumes computer resources. On Linux, all apps are updated through the App Store. If we don’t open it to check for updates, they won’t run automatically when your computer starts.

Graphic interface

The easiest and fastest way to install apps on Linux is through open app store of the Linux distribution that we have installed on our computer, search for the application and click on the download button. It is done. Here we could end this tutorial. However, not all the apps that we want to install or need to install are available in the respective app stores.

If the application we are looking for is not among the repositories of our Linux distribution, we can add them to increase the number of applications available in the corresponding store. To add a repository, open the Software and Updates app and go to the Other Software tab, click Add and set the address of the repository.

Command line

As I mentioned above, not all applications available for Linux are distributed through Linux distribution stores, if all of them include a GUI to interact with, so we will be forced to work with it through the command line .

To install applications through the command line, we must perform 2 or 3 steps depending on whether it is in the repositories to which the Linux distribution that we have installed has access.

If the application is not available in the repositories that the Linux distribution has access to, the first thing to do is to add the repository where the application is located, using the following command:

sudo add-apt-repository direccióndelrepositorio

Then we update the package manager

sudo apt-get update

And, finally, we install the application using the command

sudo apt-get install nombreaplicacion

Types of packages

Each type of packages is intended for use on different versions of Linux. For example, a Debian package cannot be installed on Red Hat, just as an Arch Linux package cannot be installed on Ubuntu or Debian. Fortunately, the solution to this problem comes with the FlatPak, App Image, and Snap packages. These types of packages are compatible with all Linux systems.

However, we will always get the best performance if we use the packages designed for the Linux system where we want to use it. Package managers are exactly the same as an app store, but without including app images or descriptions. It is just a file with which we can install or remove an application on our computer.

Flat pack / Snap

Although they are different, the two types of packages work similarly. The main advantage of this type of plan is that include all dependenciesso you have to find a life to download and install them to make the application work.

AppImage

These packages work like a Windows .exe application because they include everything that needs to be installed, no internet connection required. We could say that it is the closest thing to a portable Windows application, since we can store it on a USB key and take it with us and install it on any computer.

RPM/Yum

RPM and Yum packages correspond to Linux distributions derived from Red Hat, such as Red Hat Enterprise, Fedora, open SUSE and CentOS mainly. Packages with this extension can only be installed on these distributions.

RPM is used to install files. rpm locally, while YUM is used to install software through internet repositories.

DPKG /apt-get /apt

The DPKG package extension matches all Debian-based distributions. Apt-Get and Apt are also intended for Debian distributions, however the latter is much more complete than DPKG. DPKG is used to install .deb files locally, while apt is used to install software directly from any repository.

If we usually use Ubuntu, this probably sounds familiar to us since it’s the one used in Debian-based distributions such as Ubuntu, Elementary OS, Lubuntu, and Linux Mint.

Pac man

This package manager is for distributions based on Arch Linux.

Where to download apps for Linux

When it comes to downloading applications for Linux, we have up to 3 different options, depending on our needs.

From the app store

Using each Linux distribution’s app store is the fastest and easiest way to download and install an app on Linux. As we explained above, if we do not find the application we are looking for, we can add the repositories where they are.

From repositories

If an application is not available natively on our computer or is not accessible from the distribution store, the only way to download it, either from the command line or from the graphical interface, is to add the repositories where it is located.

Repositories are like supermarkets, where we have a wide range of applications at our disposal. If we cannot find the product we are looking for, we can go to another depot/supermarket.

Web channel

In addition to being able to download applications from the store and adding repositories to the device, we also have the option of downloading applications not found through these two options.

Although this method is used less and less because many users consider it obsolete, it offers us a series of advantages that we cannot ignore, such as the fact that it takes up less storage space, that it is faster to open and more secure.

RPM Search

Despite the fact that the name may indicate otherwise, on the RPM Seek website we can find packages for any Linux distribution. The strong point of this website is the wide range of options it puts at our disposal to personalize searches. Plus, it lets you search for files based on the dependencies they need.

pkgs.org

Whether we’re looking for packages to install on Debian-based distributions (.deb) or Red Hat-derived distributions (.rpm), as well as many others, pkgs.org will find plenty of them. All packages are listed with the specific version number from which they are supported. Although the number is smaller, we can also find packages for Arch Linux.

Finding Debian Packages

On this web page we have at our disposal a large number of .deb packages (Debian), one of the most popular distributions and where we can find practically all the packages we are looking for.

Ubuntu Packages

If instead of Debian we use Ubuntu, we can take a look at Unbuntu packages where we will find packages of all kinds and compatible with the most modern versions of Ubuntu.

Previous How to Download and Install Terminal Themes in Windows 11
Next How to Download and Install FTDI Drivers on Windows 10 and 11