Tags » Add-apt-repository

add-apt-repository command not found

Problem

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

Technical