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
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
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 apt install software-properties-common