2

I tried sudo apt-get install php-pecl, but I get this output:

Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
E: Unable to locate package php-pecl
1

2 Answers 2

2

There's no php-pecl package. The pecl binary is contained in php-pear package, e.g. do:

sudo apt-get install php-pear

You can use apt-file from apt-file package to search for files contained in package not installed locally. Try:

sudo apt-get install apt-file
apt-file update
apt-file search /usr/bin/pecl
0

There is no php-pecl package in the official repositories.

Maybe you mean php-pecl-http from the universe repository of 16.04 instead?

Additionally, you might be interested in Install PECL packages on ubuntu?

Not the answer you're looking for? Browse other questions tagged .