Adding libraries to arduino on ubuntu

I encountered a problem while trying to execute my PING + iButton program on Ubuntu since I couldn’t find where the OneWire library should be placed. Long story short after googling around the net I found that when you install arduino through apt it creates a “sketchbook” folder in your home folder. So I first navigated to /home/’username’/sketchbook/ and created a folder named libraries and copied the unzipped OneWire folder in libraries and restarted arduino. ( /home/’username’/sketchbook/libraries/OneWire/ )


4 thoughts on “Adding libraries to arduino on ubuntu

  1. Yes, very helpfull info, under Windows add a lib very simple directory copy, on Ubuntu no usable, Your info solved my problem, thanks!

  2. You solved my problem. Thanks

    A small path error :
    not /home/’username’/libraries/OneWire/
    but /home/’username’/sketchbook/libraries/OneWire/

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s