Installing a program in Ubuntu is an extremely simple task. Ubuntu adds by default those most common programs and powerful features that Linux has, however, if you need any more specific software you can easily install it by following the steps below. If you want to get some information about what happens every time you install a program on Ubuntu, which may include questions about technical data, you can get it from the articles it includes, such as Packages and Package Management o Installing a Package.
In Ubuntu (and Linux in general), as opposed to how it happens in the Windows world, you do not have to search for the program manually on the internet, Download it and install lots of libraries needed for its execution. That is why there are repositories (see Software and updates), a kind of centralized warehouse that contains all available software and is always up to date. We just have to choose the application and the system is already only responsible for downloading and installing it.
There are several ways to install a program on Ubuntu. We will present them to you from less to more level of “complexity”.
1. The Ubuntu Software Center
The simplest and most intuitive way of all is through this app. As Ubuntu has been developed, features have been added that have come to provide it with the features of a real software store where there are thousands of applications available to users.
To access we must click on the icon Software Center, Inside the launcher bar or launcher which is on the left of the screen; or clicking on the first launcher with the Ubuntu logo icon that opens the Dashboard or dash and write or search Software Center.
This application is divided into several sections:
- at upper lashes we have the following options All applications, installed and the historical.
- A la left handed are the applications divided by subcategories.
- at the center are the applications divided by newer i best valued.
- a la top right we have the option of Search.
Once we have chosen the package or application we want to install, we can directly press the corresponding button and wait for it to be included in our system. If we want to get more details about the application, what it is for, what connectors install or user rating and comments, we can view all this information by clicking on more information. Once the application installation is complete, the button install will automatically become Uninstall and from here we can remove the application from the system. As you can see everything is very simple and intuitive.
2. The Synaptic Package Manager
Synaptic is a more advanced system installation and removal of applications that the Software Center. However, the environment is graphical and very powerful, and has complete control over the applications that are installed on the system, the dependencies and the different versions of packages that can be installed as needed. From Ubuntu 12.04 Synaptic it is not installed by default and if we want to use it we need to install from the Software Center, looking for Synaptic.
To open Synaptic we must click on the first launcher of the bar with the Ubuntu logo, open the Dashboard and type or search Synaptic package manager. With this manager we can install, reinstall and remove packages in a very simple graphical way. The Synaptic screen as you can see is divided into 4 sections. The two most important are the list that includes the category section (1) on the left side and the package section (3) on the right side. Selecting a package from the list will display a description of it (4).
To install a package we will select a category, right-click on the desired package and select Mark to install or we will double-click the package name. We will mark in this way all the packages that we wish to install in the system and we will press on the button to apply for your installation to begin. Synaptic will download the necessary packages itself from online repositories or from the installation CD.
It is also possible to use the button Search to find the packages we want to install. By clicking on this button we can search for programs by name or description. Once we have located the program we want to install, we double-click on it to install it. If we want to delete a program, all we have to do is right-click on it and select it remove o Remove completely.
In all cases, the changes will take effect once we click on the Apply button.
The Synaptic Manager, like the Software Center, is responsible for resolving package dependencies on its own for applications to work properly. In the same way it is possible to configure it to install the recommended packages that, without being required by the application, can fulfill other additional functions. If we want to activate this behavior we can go to configuration > preferences, Take the tab General tick the box Consider the recommended packages as if they were dependencies.
3. Apt-get and aptitude commands via console
So far we have seen the graphical way to install programs on Ubuntu. Below we will see how to do the same but through the terminal. Although many users are left with everything related to “black screens”, you should know that this method is not a complication at all. On the contrary, it is more comfortable and simple and of course faster.
The fundamental commands we will explain are valid for apt-get (o apt since Ubuntu 14.04) i aptitude. Both work very similarly, but we must keep in mind that when invoking-we must have administrator privileges, so pay attention to the command his.
We open the terminal through the first launcher of the bar with the Ubuntu logo, then the Dashboard and type or search: Terminal. It is also opened by pressing the key combination Ctrl + Alt + T.
- Package installation:
sudo apt-get install nombre-del-paquete
- Install multiple packages:
sudo apt-get install nombre-del-paquete1 nombre-del-paquete2 nombre-del-paquete3
sudo apt-get remove nombre-del-paquete
- Uninstall a package and its associated configuration files:
sudo apt-get remove --purge nombre-del-paquete
- Update the list of available packages in the repository
sudo apt-get update
- Update all packages installed on the computer
sudo apt-get upgrade
Once we run the command it is possible that the system asks us if we want to install the package and that we have selected and those others that are dependent on it, showing us certain details of itself as its full name, version or size. We will answer in the affirmative and wait at the end of the installation.
Here ends this guide in which we have shown you several ways to perform the installation of packages in Ubuntu. We hope you find it useful.