How to install Arduino IDE 2.0 on Ubuntu 20.04

This page explains how to install Arduino IDE 2.0.0 Ubuntu 20.04. The following has been performed with the following versions:

Note that you can install the Arduino IDE from Ubuntu Software, but this is not the last version (1.8.19 while the last version is 2.0.0). Arduino IDE can also be installed with the AppImage, but its integration in Ubuntu is not nice. For example, adding the app in your launcher is not easy.

Download

First, download the Zip file from the Arduino official website.

Install files

Open a terminal in the folder where the Zip file has been download. Unzip the file with the following command:

unzip arduino-ide_2.0.0_Linux_64bit.zip 

Create a folder in home directory to put the Arduino IDE files:

mkdir ~/arduino

Copy the files extracted previously in the folder:

cp -r arduino-ide_2.0.0_Linux_64bit/* ~/arduino/

Launch IDE

Go to the installation folder:

cd ~/arduino

Launch the Arduino IDE with the following command:

./arduino-ide

The IDE should open.

Arduino IDE 2.0.0 on Ubuntu 18.04

Launcher

To add the Arduino IDE to the launcher, create a new file arduino.desktop in the folder ~/.local/share/applications. Bellow is the content of the file, don't forget to update the fields Icon and Exec according to your installation:

[Desktop Entry]
Version=1.0
Type=Application
Name=Arduino IDE 2.0.0
Icon=/home/username/arduino-ide-2/ide-logo.png
Exec=/home/username/arduino-ide-2/arduino-ide
Comment=The Arduino Software IDE
Categories=Development;IDE;
Terminal=false

Arduino IDE launcher

See also


Last update : 10/20/2022