Installing the Arduino IDE on a Raspberry Pi 3

Installing the Arduino IDE on a Raspberry Pi 3

The Arduino Integrated Development Environment (IDE), or Arduino Software, is free software that is maintained by It is basically a text editor for writing and uploading programming code to the Arduino and Genuino microcontroller boards which can be installed on a personal computer or run from their website.

The Arduino IDE is available for all the major operating systems, but this post will show how to install it on a Raspberry Pi 3 running Raspbian Jessie.


Fully functional Raspberry Pi 3 with a keyboard, mouse and screen running Raspbian Jessie. A connection to the internet is also required.

Installing the software

To make sure Raspbian Jessie is up to date:

sudo apt-get update
sudo apt-get upgrade

Installing the Arduino IDE on a Raspberry Pi 3

Install Arduino IDE with:

sudo apt-get install arduino

To open, pull down the Menu and select Arduino IDE under Electronics.

Uploading the first sketch

After using the appropriate cable to connect the Arduino board to the Raspberry Pi, open the Arduino IDE.

To choose the type of Arduino board go to Tools > Board > and select the appropriate one. To select the port the Arduino is connected to, look under Serial Port under the Tools menu.

Example sketches can be chosen from Examples under the File menu. To test if everything is working choose Examples > 01.Basics > Blink. After pressing the Upload button (->) the Arduino’s on-board LED should start to blink on and off at one second intervals.

The sketches directory

The default location for saved sketches is /home/pi/sketchbook. The libraries directory is also located here.

To make a quick backup of all the sketches including the sketches and libraries directories use:

sudo cp -rp /home/pi/sketchbook /copy-to-directory

After a fresh install, this backup can be retrieved by using:

sudo cp -rp /copy-from-directory /home/pi

Related product links

Please support Behind The Scenes by using these links to purchase these related products online from our partner websites. Links will open in a new window...

About the author
Renier busies himself with improving his English writing, creative web design and his websites, photoshopping, micro-electronics, multiple genres of music, superhero movies and badass series.
Behind the Scenes is a free, informative website. If you find value in any of our content, please consider making a donation to our cause.
Donate via PayPal

Save, share & Disqus

Use the buttons below, on the left or the bottom of this page to share this post. Your comment is important, but don't be a knob. Keep it constructive and polite.

Comment via Disqus

Disqus is a worldwide comment hosting service for web sites and online communities. This secure platform ensures a pleasant commenting environment which is manageable from one account. Use the Login button to sign up.

More Raspberry Pi related posts

Online micro-electronic components, consumables & accessories
Online micro-electronic components, consumables & accessories
19 August 2019
Ad: Buy great value for money micro-electronic components online from Free international delivery, including to South Africa. More…
Raspberry Pi media centre
Using a Raspberry Pi as a cheap media centre
2 March 2019
With a plethora of mini media centre boxes becoming readily available, it comes as no surprise that open source platforms are also available for this purpose. Kodi is one such platform and it is available to be installed onto a Raspberry Pi. More…
KodiRaspberry Pi
Getting started with private projects on Raspbian and Bitbucket
Getting started with private projects on Raspbian and Bitbucket
28 October 2018
Bitbucket is a great alternative to Github to start, store and track simple programming dependant project files. On a Raspberry Pi it can be simply done using Raspbian. In addition to Github, projects uploaded to Bitbucket with less than 6 contributors can be kept private and won’t cost a cent. More…
Taking a screenshot on a Raspberry Pi from a remote location
Taking a screenshot on a Raspberry Pi from a remote location
1 July 2018
Whether it is for debugging purposes, making images for tutorials or capturing a moment in a game, screenshots (screengrabs or screen captures) often come in handy. Most operating systems, including Raspbian, will have options to create screenshots by using the keyboard, but what if no keyboard is connected? More…
Raspberry Pi