×


Install Arduino IDE on Debian 10 - Step by Step Process to implement it ?

Arduino IDE is a piece of software that you can download and install on your system. Basically, It allows us to write, compile, and upload the code to the Arduino compatible boards which then interacts with the things in the real world.

You can install and run Arduino IDE on all major OS like Windows, Linux, and MacOS.

Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform Software Installation tasks on Debian based system.

In this context, we shall look into different methods to install Arduino IDE on Debian.


How to install Arduino IDE on the Debian system ?

Using different methods, you can install Arduino IDE on Debian 10 (Buster) system:

1. Install Arduino IDE via tarball

2. Install Arduino IDE via snap

3. Install Arduino IDE via apt


Method 1: How to Install Arduino IDE on Debian via tarball ?

With this method, you can install the latest release of the Arduino IDE on our system. 

Therefore, Follow the steps outlined below to download and install Arduino IDE on Debian.


i. You will need to first download the Arduino IDE latest release on your Debian system. Visit the following link and download the latest version of Arduino IDE for Linux OS:

https://www.arduino.cc/en/software/

Alternatively, you can use the following wget command to download the Arduino IDE for Linux OS:

$ wget https://downloads.arduino.cc/arduino-1.8.13-linux64.tar.xz

The downloaded package will be a tarball (compressed) file named arduino-(version number)-linux64.tar.xz (arduino-1.8.13-linux64.tar.xz).


ii. Next, uncompress the tarball file using the following syntax:

$ tar xvf arduino_filename

Replace the arduino_filename with the name of the downloaded Arduino IDE tarball file:

$ tar xvf arduino-1.8.13-linux64.tar.xz

This command will extract the tarball file in a folder name arduino-1.8.13.


iii. Now, navigate to the extracted folder using the cd command as follows:

$ cd arduino-(version number)

Replace arduino-(version number) with the extracted folder name which in our scenario is arduino-1.8.13:

$ cd arduino-1.8.13

The Arduino folder contains the install.sh install script which will be used to install the Arduino IDE.


iv. Run the following command in Terminal to run the install script:

$ sudo ./install.sh

The "done!" in the output shows that Arduino IDE has been installed successfully.


v. After installation, you can launch Arduino IDE right from the Terminal by typing the following command:

$ arduino

When you launch Arduino IDE for the first time, a dialog may pop up asking you to add a user to the dialout group. Click Add in order to add the user to the dialout group. 

After that, you must log out and then log in back to implement the changes.


Method 2: How to Install Arduino IDE on Debian via Snap ?

Arduino is also available as a snap package for Debian OS. Snaps are software packages that contain all dependencies that are required to run the application. 

This method also installs the Arduino IDE latest version i.e. 1.8.13.

To install Arduino IDE via its snap package, first, you will have to update the system repository index. Issue the following command to do so:

$ sudo apt update

To install the snap package, you must have snapd installed on your system. You can install it as follows:

$ sudo apt install snapd

Then install snap core as follows:

$ sudo snap install core

Now you can install Arduino IDE via its snap package. Issue the following command to do so:

$ sudo snap install arduino

Now the installation will start and once completed.

After installation, you can launch Arduino IDE right from the Terminal by typing the following command:

$ arduino

When you launch Arduino IDE for the first time, a dialog may pop up asking you to add the user to the dialout group. 

You can do so by running the below command in Terminal:

$ sudo usermod -a -G dialout <username>

Replace the <username> with the actual user name which in our scenario is "linuxapt".

$ sudo usermod -a -G dialout linuxapt

Now in order to implement the changes, reboot the system and launch Arduino IDE again.


Method 3: How to Install Arduino IDE on Debian via apt ?

Debian repositories also contain the Arduino IDE package but that is an older version 1.0.5. Although it is not recommended to install the older version. 

But in some cases, if you need to use the older version of Arduino IDE, you can install it using the apt command.

To install Arduino IDE on the Debian system, issue the below command in Terminal:

$ sudo apt install arduino

Enter the password for sudo. After entering the password, you might be prompted with the y/n option to proceed or cancel the installation respectively. Hit y to proceed with the installation.

After installation, you can launch Arduino IDE right from the Terminal by typing the following command:

$ arduino

When you launch Arduino IDE for the first time, a dialog may pop up asking you to add the user to the dialout group. You can do so by running the below command in Terminal:

$ sudo usermod -a -G dialout <username>

Replace the <username> with the actual user name which in our scenario is "linuxapt".

$ sudo usermod -a -G dialout linuxapt

Now in order to implement the changes, reboot the system and launch Arduino IDE again.


How to Uninstall Arduino from Debian System ? 

In case you no longer need Arduino IDE, you can easily uninstall it from your system.

1. First, you will have to navigate to the Arduino folder which contains the uninstall script.

$ cd arduino-1.8.13

2. Then to uninstall Arduino, run the uninstall script as follows:

$ sudo ./uninstall.sh


[Need urgent assistance with fixing Debian missing packages? We are available to help you today. ]


Conclusion

This article covers different methods to install the Arduino IDE on Debian system. To get the latest version of Arduino IDE, simply go for installation via tarball and snap. If you prefer an older release of Arduino, go for installation via apt.

Arduino boards are able to read inputs – light on a sensor, a finger on a button, or a Twitter message – and turn it into an output – activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. 

To do so you use the Arduino programming language (based on Wiring), and the Arduino Software (IDE), based on Processing.”


To Install Arduino IDE on Ubuntu:

1. Execute the command:

$ sudo apt install Arduino

2. You will be provided with Y/N option, press y to continue.

3. Now wait for a while until the installation of Arduino IDE is completed.


To Launch Arduino IDE:

To launch Arduino IDE application on your system, hit the super key and in the search bar that appears, type Arduino. When the Arduino IDE icon appears, click on it to launch.

You will see the default view of Arduino IDE.