2013/11/12

Install phpunit on ubuntu 12.04

Background
OS: ubuntu 12.04

Steps
sudo apt-get install phpunit
sudo pear upgrade pear
sudo pear channel-discover pear.symfony.com
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover components.ez.no
sudo pear channel-discover pear.symfony.com
sudo pear install --alldeps phpunit/PHPUnit

Testing
phpunit --version
PHPUnit 3.5.5 by Sebastian Bergmann.

Reference
http://www.giocc.com/installing-phpunit-on-ubuntu-11-04-natty-narwhal.html

沒有留言:

張貼留言