How to add repositories in elementary OS Loki from the terminal

Elementary OS 0.4 LokiIf you were to ask me what is the graphical environment that I liked the most of all those that I have tried since I use Linux, I think I would tell you that the Pantheon of elementary OS. But if I'm not using it on my laptop right now, it's because its developers are very "on their own" and there are things that I don't really like, like having to activate the desktop in an unofficial way.

Another thing that elementary OS developers have done that makes the system stand out a bit more from other Ubuntu-based distributions is that you can't add repositories as we like the most, that is, using a command in the terminal. At first it was thought that it was a restriction that would only affect betas, but elementary OS Loki has been available for a long time and is still not possible. Or not unless a software package is installed.

Adding repositories in elementary OS Loki is possible by installing a package

Being able to add repositories in elementary OS Loki using the terminal is one command away, two if we want to make sure we use the latest version. What we will have to do is install the package software-properties-common, so just open a terminal and type the following:

sudo apt-get update
sudo apt-get install software-properties-common

Once the package is installed, we will be able to add repositories as we did in previous versions of this attractive operating system. In fact, it is a bit surprising that the developers of elementary OS have included this restriction because what we find most on the Internet when it comes to installing software that is not available in the official repositories is the command to do it from the terminal. I imagine the restriction exists because elementary OS developers they want to make sure everything works perfectly. Do you agree with the restriction or have you installed the necessary package to add repositories from the terminal?


The content of the article adheres to our principles of editorial ethics. To report an error click here.

3 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   DieGNU said

    Wow, I had no idea about this because I didn't need it. I was already surprised that the Ubuntu Driver Manager did not appear first, but the PPAs, which is something basic as basic as the proprietary controllers, whether with an interface or not, it seems to me a bit to try to distance itself from its ubuntera base without any practical sense; Wow, it's my opinion.

  2.   Luis said

    Blocking seems fine to me (especially, knowing who that distro is intended for). I am very against using PPAs. They make the system more vulnerable.

  3.   ILIDAN storm (Berserk) said

    Very useful, thanks