The Arduino IDE is free and open-source software to write and upload your programming code. It consists of an editor with features like assisted editing enabled by the compiler so you can do everything from within one program without switching between files or windows as often – it does help streamline things! The tool also enables better compiling because errors will be noticed before they’re uploaded.
In the following tutorial, you will learn how to install Arduino IDE on Debian 11 Bullseye desktop with Flatpak or APT method.
Table of Contents
Update Debian System
Update your Debian operating system to make sure all existing packages are up to date:
sudo apt update && sudo apt upgrade -y
Debian 11 Bullseye is available by default but can be outdated as the longer the Debian release continues and Arduino pushes updates. For this, it is highly recommended to install using a third-party installation manager such as Flatpak so the IDE will always be up-to-date.
First, install Flatpak using the following command.
sudo apt install flatpak -y
Now reboot your system, failure to do this may lead to paths not being appropriately generated, such as application’s icons missing and will not being shown until you do.
Next, enable the Flathub repository to get Arduino and any other packages.
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Install Arduino IDE – Flatpak Method
The next step is to install Arduino with flatpak, and this can be done using the following command.
flatpak install flathub cc.arduino.arduinoide -y
Once installed, you can proceed to launch.
Install Arduino IDE – APT Method
At the time of this tutorial, Arduino is the same version as Flatpak so you may prefer installing with APT.
sudo apt install arduino -y
Launch Arduino IDE
The IDE application can be found by following the Activities > Show Applications > Arduino location.
Alternatively, you may want to use it for applications quite frequently. Right-click the icon and click add to favorites, and this will then make the icons appear on the taskbar.
Once open, you will land at the default application start screen, where you can begin.
Remove (Uninstall) Arduino IDE
Remove Arduino Flatpak Method
To remove the Flatpack version of Arduino, run the following command:
flatpak uninstall --delete-data cc.arduino.arduinoide -y
Another handy hint can be to use the following command to make sure Flatpak has not left behind any unnecessary packages as it is known to sometimes.
flatpak remove --unused
Remove Arduino APT Method
For users that installed the APT version, remove the application as follows.
sudo apt autoremove arduino --purge -y
Comments and Conclusion
In the tutorial, you have learned how to install Arduino IDE on Debian 11 Bullseye.
Arduino IDE is a text editor with different features. It helps write code, compile it, and upload the code to Arduino boards. The software has been designed keeping in mind simplicity and ease of use. So far, there have not been any major complaints about the software. If you are an Arduino beginner, you should start using the Arduino IDE to code your projects.