Arduino

How to Install the Latest Version of Arduino IDE on Any Linux Distributions

Arduino IDE is an open-source integrated development environment (IDE). It is designed to program the Arduino boards. It has a simple and user-friendly interface that enables the developers to create the interactive projects and prototypes easily. Arduino IDE provides a simplified version of the C/C++ programming language and a wide range of built-in libraries and functions to the developers. Arduino IDE offers code highlighting, automatic compilation, and uploading of code to Arduino boards. Arduino IDE’s versatility and its supportive community make it an excellent choice for tinkering, learning, and building exciting electronic projects.

In this article, we will show you how to install the latest version of Arduino IDE on the following Linux distributions:

  • Ubuntu 22.04 LTS
  • Debian 12
  • Linux Mint 21
  • SUSE 15
  • RHEL 9
  • Rocky Linux 9
  • Manjaro 22

The steps that are shown in this article work on other popular Linux distributions as well.

Topic of Contents:

  1. Adding the Login User to the Dialout Group
  2. Setting Up the AppImage
  3. Downloading the Latest Version of Arduino IDE for Linux
  4. Making the Arduino App Executable on Linux
  5. Moving the Arduino IDE AppImage File to the ~/bin Directory
  6. Running the Latest Version of Arduino IDE on Linux
  7. Conclusion

Adding the Login User to the Dialout Group

For the Arduino IDE to upload the compiled programs or sketches to the Arduino microcontrollers, your Linux login user must have the required permissions.

To grant the Arduino IDE with the required permissions to upload the compiled programs or sketches to your Arduino board, add your Linux login user to the dialout group with the following command:

$ sudo usermod -aG dialout $(whoami)

For the changes to take effect, reboot your Linux machine with the following command:

$ sudo reboot

Setting Up the AppImage

The latest version of Arduino IDE comes in AppImage format. To use the AppImage apps on your Linux distribution, it’s a good idea to set up the AppImage. To learn how to set up the AppImage on your Linux distribution, read the article on How to Run AppImage Apps on Debian 12/Ubuntu 22.04 LTS/Linux Mint 21/Fedora 38/Rocky Linux 9.

Downloading the Latest Version of Arduino IDE for Linux

To download the latest version of Arduino IDE for Linux, visit https://www.arduino.cc/en/software from your favorite web browser.

Once the page loads, click on “Linux AppImage 64 bits (X86-64)” as marked in the following screenshot:

A screenshot of a computer Description automatically generated

Click on “JUST DOWNLOAD”.

A screenshot of a computer Description automatically generated

Your browser should start downloading the AppImage file for the latest version of Arduino IDE.

A screenshot of a computer Description automatically generated

The AppImage file for the latest version of Arduino IDE should be downloaded.

A screenshot of a computer Description automatically generated

Making the Arduino App Executable on Linux

Once you set up the AppImage on your Linux distribution, all the AppImage files that you download to the ~/Downloads directory will automatically be executable.

If you downloaded the Arduino IDE AppImage file in a different directory than ~/Downloads or it’s not executable for some reason, you can manually add the executable permission to the AppImage file with the following command:

$ chmod +x arduino-ide_2.1.1_Linux_64bit.AppImage

You can check whether the Arduino IDE AppImage file has executable permission with the “ls” command:

$ ls -lh

A screenshot of a computer Description automatically generated

To make the Arduino IDE AppImage file executable from the graphical user interface, right-click (RMB) on the AppImage file and click on “Properties”.

A screenshot of a computer Description automatically generated

Make sure to toggle on “Executable as Program” for the Arduino IDE AppImage file.

NOTE: We used the GNOME desktop environment for the demonstration. You will find similar options in other desktop environments.

A screenshot of a computer Description automatically generated

Moving the Arduino IDE AppImage File to the ~/bin Directory

It’s a good idea to move the Arduino IDE AppImage file to the ~/bin directory of your Linux distribution just to keep things organized.

A screenshot of a computer Description automatically generated

Running the Latest Version of Arduino IDE on Linux

You can run the latest version of the Arduino IDE on Linux from the ~/bin directory by double-clicking (LMB) on the Arduino IDE AppImage file.

A screenshot of a computer Description automatically generated

If you set up the AppImage on your Linux distribution correctly, you should also find the Arduino IDE AppImage app in the “Application Menu” of your Linux distribution.

Click on the Arduino IDE app icon to run it.

A screen shot of a computer Description automatically generated

Click on “Agree”.

A screenshot of a computer Description automatically generated

Arduino IDE is now loading.

A screenshot of a computer Description automatically generated

As you run the Arduino IDE for the first time, it downloads all the required libraries from the internet. It takes a while to complete.

A screenshot of a computer Description automatically generated

Once all the Arduino libraries are downloaded, the Arduino IDE should be ready to use.

A screenshot of a computer Description automatically generated

Conclusion

We showed you how to download the latest version of Arduino IDE on Linux. We also showed you how to install the latest version of Arduino IDE on Linux and run it.

About the author

Shahriar Shovon

Freelancer & Linux System Administrator. Also loves Web API development with Node.js and JavaScript. I was born in Bangladesh. I am currently studying Electronics and Communication Engineering at Khulna University of Engineering & Technology (KUET), one of the demanding public engineering universities of Bangladesh.