I have had to de- and reinstall a newer version of PHPUnit following these directions. Now when I\'m launching this line
sudo pear install --alldeps phpunit/PHPU
sudo pear install -a phpunit
sudo pear channel-discover pear.phpunit.de
I had similar problem complaining about "Unknown remote channel: pear.symfony.com". had to do (without sudo, I got weird error about cannot open some file)
sudo pear channel-discover pear.symfony.com
then
sudo pear install phpunit/PHPUnit
Now I can see phpunit in my /usr/bin