I have installed xampp 1.8 on my ubuntu 12.04. In /opt/lampp/lib/php/PEAR I can see there are two directory named PEAR and PHPUnit.
But when I run pear -V or phpunit from terminal it gives the below messages:
The program 'pear' is currently not installed. You can install it by typing: sudo apt-get install php-pear
The program 'phpunit' is currently not installed. You can install it by typing: sudo apt-get install phpunit
Why these messages are showing ? Do I need to install pear and phpunit again. If so how to do this as I still have PEAR and PHPUnit directory /opt/lampp/lib/php/