How To Install Arduino on Debian 12

Arduino IDE is an open-source platform that provides Arduino board management and essential tools for compiling, uploading, and writing sketches in C++. Since Debian and other Linux distributions are open-source, Arduino and Debian can be a good combination for creating prototype projects. This blog post will explain several ways to install Arduino IDE on Debian 12.

6-Ways to Install Arduino on Debian 12

To install an application on Debian 12 there are several ways and in the case of Arduino IDE there are six possible ways by which Arduino IDE can be installed on Debian:

1: Through the Debian Default App Installer

Most of the applications on Debian-based Linux distributions can be installed using the apt package installer. However, there is one drawback to it and that is most of the applications have older versions. To install Arduino IDE on Debian, execute:

sudo apt install arduino

Installing Arduino IDE on Debian using apt package manager

After the successful installation of Arduino, you can either launch it from the Debian 12 app menu or by executing the following command in the terminal:

arduino

On the first launch, Arduino will ask about adding the dialout group which is necessary for uploading the code to the Arduino microcontroller board:

Adding Debian 12 user to dialout group to upload code to an Arduino microcontroller

Next, the IDE will open and here you can see in the image below that it is an older version of Arduino IDE:

Launching Arduino on Debian installed via apt package manager.

2: Through Arduino Zip File

Installing applications on Debian or any other Linux distribution by either using their source file, deb file or zip file is a good approach. This is because most of the time these have the latest or newer versions of the application, which improves the user experience. The Arduino IDE comes with a zip file that can be downloaded from Arduino’s official site. Here, click on the Linux ZIP file, as in the image below:

Downloading Arduino IDE Zip file from Arduino official site on Debian

Next, click on just download option twice and the ZIP file for Arduino will start to download:

Downloading Arduino IDE Zip file from Arduino official site on Debian

Alternatively, you can use the below command to download the Arduino Zip file through the terminal:

wget https://downloads.arduino.cc/arduino-ide/arduino-ide_2.3.2_Linux_64bit.zip

Downloading Arduino IDE Zip file from terminal on Debian

Now use the unzip utility to extract the Arduino IDE zip in Debian 12 by executing:

sudo unzip arduino-ide_2.3.2_Linux_64bit.zip

Extracting Arduino IDE Zip file on Debian 12

Next, move to the extracted directory of Arduino IDE:

cd arduino-ide_2.3.2_Linux_64bit

Navigating to extracted directory of Arduino Zip file on Debian

Now execute the arduino-ide file to launch it:

./arduino-ide

Here, you can see in the image below that this zip file contains the latest version of Arduino IDE which is 2.3.2:

Launching Arduino IDE on Debian using its Zip file

3: Through Arduino AppImage File

In the previous method of installing Arduino IDE on Debian 12 I extracted the zip file but in the case of the AppImage file you just need to make it executable and then simply execute the file. So to Download the AppImage file of Arduino IDE, visit the software section of Arduino official website:

Downloading Arduino IDE AppImage file from Arduino official site on Debian

Now after clicking on the Linux AppImage file option, click on the Just download option and the file will start to download:

Downloading Arduino IDE Zip file from Arduino official site on Debian 12

Next, make the AppImage file executable by all the users, however, you can set the permissions according to your preference:

sudo chmod a+x arduino-ide_2.3.2_Linux_64bit.AppImage

Making Arduino IDE AppImage file executable on Debian 12

Next, execute the Arduino IDE AppImage file to launch Arduino IDE on Debian:

./arduino-ide_2.3.2_Linux_64bit.AppImage

Launching Arduino IDE on Debian using its AppImage file

4: Through Snap Package Installer

The next method to install Arduino IDE on Debian 12 is using the Snap package manager, for this execute:

sudo snap install arduino

Installing Arduino IDE on Debian using Snap package manager

To verify the installation of Arduino IDE on Debian via Snap, list all the applications installed on Debian via Snap by executing:

sudo snap list

here, in the image below, you can see the Arduino in the list:

Listing all the apps installed on Debian via Snap package manager

Now to launch Arduino on Debian execute:

arduino

Launching Arduino on Debian installed via Snap package manager.

5: Through Flatpak Package Installer

Another method to install Arduino on Debian is through the Flathub repository, which provides it’s both versions the older one and the latest one. To install the Arduino IDE latest version using Flatpak execute:

flatpak install flathub cc.arduino.IDE2

Installing Arduino IDE on Debian using Flatpak package manager

For the older version, you can execute the following command:

flatpak install flathub cc.arduino.arduinoide

To launch, the latest version of Arduino installed via Flatpak on Debian execute:

flatpak run cc.arduino.IDE2

Launching Arduino on Debian 12 installed via Flatpak package manager.

Note: This is the unverified version of Arduino IDE on Flatpak, so there is a possibility that you may encounter issues while using it.

6: Through Debian 12 App Center

The last method to install Arduino IDE on Debian 12 is using its App Store, simply launch it from the applications menu and search for Arduino:

Searching for Arduino IDE on Debian 12 Software application

Next, click on the Install option:

Installing Arduino IDE on Debian using Software application

Once the installation is completed, launch it either by clicking on the Open option or from the activities’ menu:

Launching Arduino on Debian 12 installed via Debian's software application

Conclusion

To install Arduino IDE on Debian there are six ways which include using apt package manager, Arduino IDE zip file, AppImage file, Snap package manager, Flatpak package manager, and Debian 12 app center. The recommended way to install Arduino IDE on Debian is either using its zip file or AppImage file, as both are plug-in-play and come with its latest versions.

 

Index
Scroll to Top