The software applications can be installed on Ubuntu and Debian systems in many ways. The one common way to install applications is through the Personal Package Archive (PPA) Repository. The PPA’s are the external repositories that are created and maintained by developers.
The add-apt-repository command is used in the following way to add a PPA repository:
The sudo: add-apt-repository: command not found is a common error that we encounter while adding a PPA repository.
This error is simple, and you face it when the specific package which allows you to add the external repositories is not installed on your system. To fix this error, we need to install the software-properties-common package because the add-apt-repository command is included in this package.
Fire up the terminal and complete the below-given steps to install the software-properties-common package.
Execute the given-below command to update the system’s repository:
Next, install the software-properties-common package with the command:
The software-properties-common package will be successfully installed.
Now, the add-apt-repository: command not found error is fixed, and you are ready to add any PPA repository. As an example, let’s add the LibreOffice repository and install it:
Alright! That’s it. The PPA repository is successfully added to the system, and LibreOffice is successfully installed.
The add-apt-repository: command not found is a very common error that you may encounter while adding the external or PPA repository to the Ubuntu, Debian, Linux Mint, and many other Debian based systems. The add-apt-repository command is included in the software-properties-common package, and the error occurs due to the absence of this package. We can fix this error by installing the software-properties-common package.
Data centers are popping up everywhere. With the rapid growth of AI, cloud services, streaming…
Our commitment to building a thriving open source community is stronger than ever. We believe…
The clock was ticking: Node.js 18’s upstream End of Life (EOL) The OpenJS Foundation is…
June 25th, 2025 – Canonical, the company behind Ubuntu, and Pure Storage, the IT pioneer…
Co-authored with Julie Muzina A year ago, during our Madrid Engineering Sprint, we challenged ourselves…
Welcome to the Ubuntu Weekly Newsletter, Issue 897 for the week of June 15 –…