Linux (Ubuntu)
-bash: add-apt-repository: command not found *Solution*
by admin on Nov.23, 2011, under Linux (Ubuntu)
Today I got add-apt-repository: command not found and I was like: Well, I already stumbled across this error message and the past and luckily I already knew the solution.
Ubuntu:
I opened up my systems terminal and typed:
apt-get install python-software-properties -y --force-yes
(or this one if you’re not logged in as root)
sudo apt-get install python-software-properties -y --force-yes
And the command add-apt-repository worked.
Debian:
Click here to find out how to add add-apt-repository in Debian.