Ubuntu的add-apt-repository: command not found 【转发】

在Ubuntu下,时不时会有这个错误的。 add-apt-repository: command not found
这个是缺少程序,安装一下就可以了。只是不知道安装的名字。
按以下命令走一趟就可以的了。

sudo apt-get install software-properties-common python-software-properties  
完成这个,就可以使用add-apt-repository命令了。

 
原文:

https://blog.csdn.net/dogfish/article/details/67150703