Install the Arduino IDE (1.8 or higher) on Linux (Ubuntu 16.04 or later)

The Arduino IDE is available on major operating systems and of course on Ubuntu or any other Linux distribution. The Arduino IDE is available for 32-bit and 64-bit versions of Linux. This is the opportunity to recycle an old PC running Windows XP to get you started programming the Arduino, ESP8266, ESP32, micro-controllers…

Recover Arduino IDE installation files

The IDE Arduino has evolved quite a bit in 10 years. You will probably find old tutorials that explain how to install the development environment by using the sudo apt-get install arduino -y  command. This method is not recommended because it does not install the latest version.

To install the IDE Arduino on Ubuntu, simply go to the official site on this page and download the archive corresponding to the version of your system.

arduino ide telechargement version arm

Installing the Arduino IDE

Ubuntu has an archive decompression utility (Archive Manager). At the end of the download, open the file manager and double click on the tar archive. The Archive Manager opens. Click the Extract button to unpack the archive. Unzip the folder to the destination directory directly. For example, in your user folder.

extract ide arduino archive manager ubuntu

The installation script will simply create symbolic links and add an icon on the desktop as well as in the programming menu.

Open a Terminal and place it in the IDE installation folder, for example

cd /home/user/arduino-1.8.2

Then run the installation script


On certain Linux distributions (including Raspbian for that matter), the installation script is problematic starting with version 1.8.1. You will most likely encounter this error message (several times)

A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
with a dash ("-"). An example filename is 'example-cc.arduino.arduinoide.desktop'
Use --novendor to override or 'xdg-desktop-icon --manual' for additional info.
xdg-mime: file '/home/chris/arduino-1.8.2/lib/cc.arduino.arduinoide.xml' does not exist

The solution was brought by jeryneedle on the Arduino forum here.

Open the installation script with a text editor (leafpad, geany or nano) and modify this line (line 9 for version 1.8.2)

RESOURCE_NAME = cc.arduino.arduinoide


RESOURCE_NAME = cc.arduino-arduinoide

Save and run the installation script again. This time, the shortcuts will be correctly installed on the desktop and in the programming menu.

raccourci ide arduino ubuntu

Here, the IDE runs under 32-bit Lubuntu. This lighter version of Ubuntu 16.04 works very well on mini PC based on recycled ATOM.

Subscribe to the weekly newsletter

No spam and no other use will be made of your email. You can unsubscribe anytime.

We will be happy to hear your thoughts

      Leave a reply

      DIY Projects