Skip to content

Instantly share code, notes, and snippets.

@gries
Created December 13, 2011 10:15
Show Gist options
  • Save gries/1471532 to your computer and use it in GitHub Desktop.
Save gries/1471532 to your computer and use it in GitHub Desktop.
Install phpunit on opensuse 11.4
#!/bin/bash
pear update-channels # updates channel definitions
pear upgrade --alldeps # upgrades all existing packages and pear
pear channel-discover components.ez.no # this is needed for PHPUnit
pear channel-discover pear.symfony-project.com # also needed by PHPUnit
pear channel-discover pear.phpunit.de # This IS phpunit
pear install --alldeps phpunit/PHPUnit # installs PHPUnit and all dependencies
phpunit --version # should display something above: 3.6.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment