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

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.

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.

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 .

LEARN MORE  Ubuntu, Debian, Kali, Mint Apt-Get Search Tutorial with Examples

1 Response

  1. Peter Barsznica says:

    Thank you!

Leave a Reply

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