How to fix sudo: add-apt-repository: command not found using sudo add-apt-repository ppa:some/ppa in Ubuntu Linux Systems.
If you get the error message “sudo: add-apt-repository: command not found” while adding sudo add-apt-repository ppa:some/ppa, here is what to do:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install software-properties-common
No run the respective command for adding the PPA in the traditional way.
Please note that for Ubuntu 13.10, Debian 7 and other older versions or its earlier versions, add-apt-repository command is available under python-software-properties package. So in this case ypu must use the following command to install it.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-software-properties