4.3. Installing the Pololu AVR C/C++ Library in Linux

The Pololu AVR C/C++ Library can be downloaded as a .zip file from the Download Instructions section of the library user’s guide. From the Linux command line, run the command

unzip libpololu-avr-yymmdd.zip

where yymmdd is replaced by the version of the library that you have downloaded. It will unzip to a folder called libpololu-avr.

To install the library, open a Linux command prompt, navigate to the libpololu-avr directory, and type sudo make install. This will copy the library object (.a) and header (.h) files to the appropriate avr subdirectories. To see exactly where they will be copied, you can type make show_prefix.