22 3 / 2011
Installing PHPUnit 3.5 on Ubuntu 10.10
If you install PHPUnit through Ubuntu’s aptitude, you will end up with PHPUnit 3.2. So lets install PHPUnit from pear to get the 3.5.
# Install and update pearsudo apt-get upgrade
sudo apt-get updates
sudo apt-get install -y php-pear php5-curl php5-xdebug
sudo pear channel-update pear.php.net
sudo pear upgrade-all
# Install PHPUnit
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover components.ez.no
sudo pear channel-discover pear.symfony-project.com
sudo pear install —alldeps phpunit/PHPUnit
Permalink 4 notes