How To Solve “add-apt-repository command not found” Error In Ubuntu, Debian, Mint, Kali


deb or apt based distributions like Debian, Ubuntu, Mint and Kali uses apt package management system. These distributions provides a lot of packages by default. But in some cases we may need to add extra or third party package into our system. This is done with add-apt-repository . This is not installed by default in these distributions. So we will get following error.

Command Not Found Error

So we want to install ubuntu-wine/ppa  which is 3rd party package repository registered as ppa.

$ sudo add-apt-repository ppa:ubuntu-wine/ppa
add-apt-repository command not found
add-apt-repository command not found

software-properties-common Package Info

In order to solve `sudo: add-apt-repository: command not found error we need to install the software-properties-common  package. But before installing the package we can list its information with the following command.

$ apt show software-properties-common
software-properties-common Package Info
software-properties-common Package Info

Install software-properties-common Package

We can install apt-software-common  package with the following command. In this case we need root privileges in order to install package into our system so we use sudo .

$ sudo apt install software-properties-common

LEARN MORE  Linux "Apt-Get Command Not Found" Error Solution

1 thought on “How To Solve “add-apt-repository command not found” Error In Ubuntu, Debian, Mint, Kali”

Leave a Comment