Installing a Library on Linux

Follow these steps to install a library in Linux.

Close the Arduino IDE

First make sure that all instances of the Arduino IDE are closed. The IDE only scans for libraries at startup. It will not see your new library as long as any instance of the IDE is open!

Download the Zip File

Click the "Zip" button on the Github repository page.

Save the Zip File

Save the zip file to a convenient location.

Open the Zip File

Open the Zip File and copy the library master folder.

Start the Extraction

Select "Extract" from the menu and navigate to your Sketchbook/Libraries folder

Extract into your Libraries Folder

After navigating to the sketchbook/libraries folder, complete the extraction.

Give it a Legal Name

The IDE will not recognize folders with dashes in the name. So you must rename the Github Master Folder. Underscores are OK!

Re-start the IDE

Restart the Arduino IDE and verify that the library appears in the File->Examples menu.

Load one of the library examples to test.

Verify that it Compiles

Click the check-mark icon in the upper left and verify that the example sketch compiles without errors.
This guide was first published on Feb 16, 2013. It was last updated on Feb 16, 2013. This page (Installing a Library on Linux) was last updated on Apr 24, 2019.