Insight: Fix add-apt-repository command not found On Ubuntu operating system.
This post is for you if you are dealing with the message saying “add-apt-repository command not found” on Ubuntu and it’s derivatives.
We will show you the simple method to fix ‘add-apt-repository command not found’ on Ubuntu.
Mostly, Software or applications are installed in Ubuntu using PPA or personal package archive and add-apt-repository is a command line utility for adding PPA in Ubuntu and Debian based operating system.
Fix add-apt-repository command not found
You need to install software-properties-common package so that you can use add-apt-repository command line tool.
In most of the latest operating system like Ubuntu 18.04 LTS and Ubuntu 16.04 LTS, You need to run the following command to fix add-apt-repository command not found error.
$ sudo apt-get install -y software-properties-common
For older version of Ubuntu, run the following command to fix this issue:
$ sudo apt-get install -y python-software-properties
Let us know if you are still having issue.