无法安装 php 7.1
can't install php 7.1
devall@giga:~$ sudo apt-get install php7.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.1
E: Couldn't find any package by glob 'php7.1'
E: Couldn't find any package by regex 'php7.1'
我正在尝试安装 php 7.1,尝试了几乎所有的东西...
sudo apt-add-repository ppa:ondrej/php
sudo apt-get update
重新安装 ubuntu 两次..仍然是同样的错误。 #帮助
试试 software-properties-common
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt search php7
sudo apt install php7.1
php -v
devall@giga:~$ sudo apt-get install php7.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.1
E: Couldn't find any package by glob 'php7.1'
E: Couldn't find any package by regex 'php7.1'
我正在尝试安装 php 7.1,尝试了几乎所有的东西...
sudo apt-add-repository ppa:ondrej/php
sudo apt-get update
重新安装 ubuntu 两次..仍然是同样的错误。 #帮助
试试 software-properties-common
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt search php7
sudo apt install php7.1
php -v