Servo Node

Servo Node


Fix “add-apt-repository command not found” Error on Linux

Technically, the apt-add-repository command is a symbolic link of the add-apt-repository command, and comes under software-properties-common Debian package. The above error message is expected to appear when the users have installed Debian based operating systems on their machine with minimal installation.

PPA repositories are mostly added and used for installing third party applications which are not available through official repositories. And if add-apt-repository command not found error occurs, means the software-properties-common package is missing. So, let’s learn how to fix the error in this tutorial.

How to fix “add-apt-repository command not found” error?

Step 1: Launch the terminal and update the list of repositories

sudo apt update

Step 2: Install software-properties-common package

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

Sourced From Here