Debian

How to Install Arduino IDE on Debian 12

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 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 Arduino IDE on Debian 12 from the official Debian 12 package repository.

NOTE: Debian 12 comes with an older version of the Arduino IDE (v1.8.19). If you want to install the latest version of Arduino IDE on Debian 12, read the article on How to Install the Latest Version of Arduino IDE on Any Linux Distributions.

Topic of Contents:

  1. Updating the Debian 12 APT Package Database Cache
  2. Installing Arduino IDE on Debian 12
  3. Adding the Debian 12 Login User to the Dialout Group
  4. Opening Arduino IDE on Debian 12
  5. Conclusion

Updating the Debian 12 APT Package Database Cache

First, update the Debian 12 APT package database cache with the following command:

$ sudo apt update

A screenshot of a computer Description automatically generated

Installing Arduino IDE on Debian 12

To install Arduino IDE on Debian 12, run the following command:

$ sudo apt install arduino

To confirm the installation, press Y and then press <Enter>.

A screenshot of a computer Description automatically generated

Arduino IDE and the required dependency packages are being downloaded. It takes a few seconds to complete.

A screenshot of a computer Description automatically generated

Arduino IDE and the required dependency packages are being installed on Debian 12. It takes a few seconds to complete.

A screenshot of a computer Description automatically generated

At this point, Arduino IDE should be installed on Debian 12.

A screenshot of a computer Description automatically generated

Adding the Debian 12 Login User to the Dialout Group

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

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

$ sudo usermod -aG dialout $(whoami)

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

$ sudo reboot

Opening Arduino IDE on Debian 12

Once your computer boots, you can find Arduino IDE in the Application Menu of Debian 12.

Click on the Arduino IDE icon to run it.

A screenshot of a computer Description automatically generated

Arduino IDE is being started.

A screenshot of a computer Description automatically generated

Arduino IDE should be opened. You can write the programs/sketches, compile them, and upload them to your Arduino board from here.

A screenshot of a computer Description automatically generated

Conclusion

We showed you how to install Arduino IDE on Debian 12. We also showed you how to add the necessary permissions for the Arduino IDE on Debian 12 so that it can upload the programs/sketches to your Arduino Board.

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.