Tags » Add-apt-repository

add-apt-repository command not found


I was trying to add an PPA repository and got this error on a server:

$ sudo add-apt-repository ppa:blah/foobar
sudo: add-apt-repository: command not found
… 20 more words

add-apt-repository: command not found

apt-get install software-properties-common python-software-properties

apt-get install apt-transport-https


Why can't add-apt-repository command?

In ubuntu system, sometimes you might need to add a repository in system source list and do some installation.
But when you wanna try to use add-apt-repository, your system just said that it can’t find this command. 36 more words