ubuntu的add-apt-repository: command not found

 

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

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.1 php7.1-common php7.1-fpm php7.1-dev
sudo apt-get install php7.1-mbstring php7.1-xml

原文地址:https://www.cnblogs.com/you-jia/p/9585381.html