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