To install Device::I2C, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::I2C
CPAN shell
perl -MCPAN -e shell install Device::I2C
For more information on module installation, please visit the detailed CPAN module installation guide.