Install PEAR modules on CentOS

Pear is used to fetch and install additional PHP packages from the Pear project. To use on CentOS first install Pear so we can run the pear binary:

yum install php-pear

Now pear is installed we can install the Net_MAC package – which can be used to discover the manufacturer from a Mac address:

Example Usage:

/usr/bin/pear install Net_MAC-0.1.5

Example Output:

downloading Net_MAC-0.1.5.tgz …
Starting to download Net_MAC-0.1.5.tgz (5,262 bytes)
…..done: 5,262 bytes
install ok: channel://pear.php.net/Net_MAC-0.1.5

 

 

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>