Ubuntu – sudo pecl command not found

12.04software installationsudo

I'm using ubuntu 12.04

I installed php pear using this command

sudo apt-get install php-pear php5-dev

I got this results

Reading package lists... Done
Building dependency tree       
Reading state information... Done
php-pear is already the newest version.
php5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Now when I use this command

sudo pecl install v8js-0.1.3

I'm getting this error

sudo: pecl: command not found

Can someone tell me how to fix this error?
Thankyou

Best Answer

Fire up a terminal and use:

sudo apt-get update
sudo apt-get install php-pear php5-dev
Related Question