Can't install PECL on Xubuntu (unable to locate package)

6,943

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
Share:
6,943
Yasir Latif
Author by

Yasir Latif

Backend developer for more than 7 years, Programming Since 2000. Bachelor in computer science, Master in advanced sciences of Modern telecom engineering, works as a Backend developer(PHP).

Updated on September 18, 2022

Comments

  • Yasir Latif
    Yasir Latif over 1 year

    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