I have "Ubuntu 14.04.2 LTS" OS and trying to install PHP7 using command:
sudo apt-get install php-7.0
Getting error message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-7.0
E: Couldn't find any package by regex 'php-7.0'
sudo apt-get install php7.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0
E: Couldn't find any package by regex 'php7.0'
How it can be fix Please advise.
php-7.0
and the output hasphp7.0
. Aside from that, there is no package with a name like that in the standard repositories. Are you trying to use a PPA? If so, perhaps https://askubuntu.com/a/705893/147763 can help. – Olathe Jan 02 '16 at 10:51