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