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
Make sure to select a released version of the library. Some library repositories are still in development, and may contain unreleased or untested code. The "Releases" button takes you to the tested and released versions.
- Click the "Releases" button on the Github repository page to find the released version of the library.
- Then download the zip file.
If you don't have a Sketchbook/Libraries folder, it may be in ~/Arduino/libraries as has been reported on Ubuntu 16.04 LTS and IDE 1.8.5.
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.
Page last edited March 08, 2024
Text editor powered by tinymce.