add-apt-repository command not found – debain & ubuntu – Quick Fix

add-apt-repository command not found – debain & ubuntu – Quick Fix
add-apt-repository command not found – debain & ubuntu – Quick Fix

add-apt-repository command not found – debain & ubuntu – Quick Fix

The command add-apt-repository is used for adding PPA reference to our Ubuntu or Debian systems. For newer installations this command may not available in your system. Use following commands to add this command utility in your system as per your operating systems.

add-apt-repository is a command line utility for adding PPA (Personal Package Archive) in Ubuntu and Debian Systems. Install the following package based on your operating system to have the add-apt-repository command.

Ubuntu and Debian 7 (Wheezy) or Earlier Versions:

For Ubuntu Systems and Debian 7 or its earlier versions add-apt-repository command is available under python-software-properties package. you can install it uzing the following command :

user@TutorialsSpace:~# sudo apt-get install python-software-properties

Debian 8 (Jessie) or Later Versions:

In Debian 8 (Jessie) add-apt-repository command utility is available under software-properties-common package. you can install it uzing the following command :

user@TutorialsSpace:~# sudo apt-get install software-properties-common