More advanced users can choose to download the source code. Something very slow and impractical actually. More inexperienced users tend to take the easy way: find and download the binary e.
Intermediate users who are looking for convenience and ease, make use of the Linux repositories to download, install and update their programs. The repositories are one of the best features of Linux. A software repository is a list of programs that allows you to easily search and download all kinds of programs and tools in your current Linux distribution.
You will be able to have a safe and reliable location from which you can download software along with their latest updates. These programs will be installed without any dependency problems.
The developers of the distros usually include their own repositories with useful programs. Furthermore, many developers maintain their own independent repositories to distribute their programs. Any user can create and maintain his own repository, very useful, for example, to distribute lists of software.
When you install Ubuntu, the distro installs a series of repositories belonging to different channels:. And in addition to these repositories, you can also add third-party repositories to your Linux distro to install other types of software safely.
The steps that we are going to see next have been done on Ubuntu, but they should be the same for any Debian-based distro. A list will be opened with all the repositories that you have in your distro.
On the other hand, those that appear at the beginning with a are those that you have installed, but they are disabled.
Before updating the repositories and installing any program, you must install the security keys of said repository. These are usually offered together with the PPA. Below you will see an example with the official Google Chrome repo.
To add a Linux repository, or PPA, from the terminal , you would need to proceed as follows. The first thing will be to search the Internet for the repository that you want to add. In the case of Google Chrome, you can find it on the Google website.
In the terminal, execute the following command to add the keys of the official Google repositories to your Linux distro. Otherwise, the software in the repositories cannot be validated and it will return an error:. Once the previous command has been executed, you can now add the repository to the Ubuntu list of repositories. Run the following command:. Obviously, if we have added the repository from GEDIT as we have explained in the previous step, this last command will not be necessary.
Next, we will update the list of Linux repositories to register all the programs on our system to be able to download and install them with apt install. If you have already added the repositories using the previous steps or you simply want to update your software without adding new repositories, the process is much faster.
When the process is finished, all your Linux programs, which have been installed through the repositories, will have been updated to their latest version. In addition, many developers maintain their own independent repositories to distribute their programs. Even any user can create and maintain their own repository, very useful, for example, to distribute software lists. When we install Ubuntu , the distro installs a series of repositories belonging to different channels:. And in addition to these repositories, we can also add third-party repositories to our Linux distro to install other software safely.
The steps we are going to see next have been done on Ubuntu, but they should be the same for any Debian-based distro. As we will see, we will open a list with all the repositories that we have in our distro. On the other hand, those that appear at the beginning with a are those that we have installed, but they are disabled. We save the changes and go. Of course, before updating the repositories and installing any program we must install the security keys of that repository.
These are usually offered together with the PPA, and then we will see an example with the official Google Chrome repo. To add a repository, or PPA, from Linux , we must do it as follows. The first thing will be to search the Internet for the repository we want to add. In the case of Google Chrome this example , we can find it on the Google website. In the terminal, we will execute the following command to add the keys of the official Google repositories to our Linux.
Otherwise, the repositories software cannot be validated and will return an error:. Once the previous command has been executed, we can add the repository to the list of Ubuntu repositories. And we will do that with the following command:.
0コメント