For those of you following the book instructions on how to install phpunit under linux and if this command doesn’t work for you just like in my case:
pear install phpunit/PHPUnit
try to run the following:
pear channel-discover pear.symfony.com
pear install --alldeps pear.phpunit.de/PHPUnit
This solved it for me on CentOS 5x