Error: 'add-apt-repository' : Command Not Found In Ubuntu Linux | Solved

Recently I was trying to add one ppa repository to my source package list in Ubuntu OS and When I tried to run  'add-apt-repository' I get the error message back "command not found".

After some search I came to know there is a package which is responsible & resolve this error. So if you are getting the same error message, follow the instruction mentioned below.

First you have to install the below package so 'add-apt-repository' command will work.

Run below command with root permissions.

sudo apt-get install software-properties-common

sudo apt update

After running both commands , try again to add repository.

sudo add-apt-repository 'repository link name'

That's all you have to do

Note: This will not work on Parrot OS because its is build for security purpose & using some extra security/restriction layers in order to make it secure.

Post a Comment