How to install an updated version of PEAR / PHPUnit on Ubuntu?
- by misbehavens
Most tutorials online show how to install PEAR by doing this:
sudo apt-get install php-pear
This installs version 1.6.1. It works great because it's super easy! My problem is that I want to install PHPUnit and it requires PEAR version 1.8.1 so my install of PHPUnit failed. So how do I install a newer version of PEAR on Ubuntu?