Installing Arduino IDE on Debian 10

29/12/2020
Chưa phân loại
According to the official website of Arduino, “Arduino is an open-source electronics platform based on easy-to-use hardware and software. 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.”

In this article, I am going to show you how to install Arduino IDE on Debian 10. So, let’s get started.

Installing Arduino IDE from the Official Debian 10 Repository:

Arduino IDE is available in the official package repository of Debian 10 Buster. So, you can easily install it on your Debian 10 machine using the APT package manager.

First, update the APT package repository cache with the following command:

$ sudo apt update

The APT package repository cache should be updated.

Now, install Arduino IDE with the following command:

$ sudo apt install arduino

Now, press Y and then press <Enter> to continue.

APT package manager will download and install all the required packages.

Arduino IDE should be installed at this point.

Now, you have to add your Debian 10 login user to the dialout group. Otherwise, you will not be able to upload your Arduino codes to the Arduino microcontroller.

To add your Debian 10 login user to the dialout group, run the following command:

$ sudo usermod -aG dialout $(whoami)

Now, restart your Debian 10 machine with the following command:

$ sudo reboot

Once your computer starts, you can find the Arduino IDE in the application menu of Debian 10. Click on the Arduino IDE icon to start it.

Arduino IDE should start as you can see in the screenshot below.

If you go to Help > About Arduino, you can see that the Arduino IDE version is 1.0.5. It is really old.

In the next section, I am going to show you how to install the latest Arduino IDE from the official website of Arduino.

Installing Arduino IDE from the Official Website:

It is easier to get Arduino IDE installed from the official Debian 10 package repository but as the IDE version is very old, it may cause a lot of problems for you. But don’t worry. You can download and install the latest version of Arduino IDE from the official website of Arduino.

First, visit the official Arduino IDE page from your favorite web browser. Now, scroll down a little bit and click on Linux 64 bits link as marked in the screenshot below.

If you want, you can donate to the Arduino project. If you don’t want to donate, just click on JUST DOWNLOAD button as marked in the screenshot below.

Your browser should prompt you to save the Arduino IDE archive. Select Save File and click on OK.

Your browser should start downloading the Arduino IDE archive. It may take a while to complete.

Now, navigate to the ~/Downloads directory with the following command:

$ cd ~/Downloads

You should be able to find the Arduino IDE archive that you’ve just downloaded as you can see in the screenshot below. Remember the archive name.

$ ls -lh

Now, extract the archive in the /opt directory with the following command:

$ sudo tar xvJf arduino-1.8.9-linux64.tar.xz -C /opt

The archive should be extracted to the /opt directory.

A new directory should be created in the /opt directory as you can see in the screenshot below. Remember the directory name.

$ ls -lh /opt

Now, run the following command to create a desktop launcher for Arduino IDE and add a symbolic link of the Arduino executable to the PATH.

$ sudo -E /opt/arduino-1.8.9/install.sh

Arduino IDE desktop launcher/shortcut should be created. You can also access the Arduino executable from the command line.

Now, you have to add the Debian 10 login user to the dialout, tty, uucp and plugdev group. Otherwise, you won’t be able to upload your Arduino code to the Arduino microcontroller.

To add the Debian 10 login user to the dialout group, run the following command:

$ sudo usermod -aG dialout $(whoami)

To add the Debian 10 login user to the tty group, run the following command:

$ sudo usermod -aG tty $(whoami)

To add the Debian 10 login user to the uucp group, run the following command:

$ sudo usermod -aG uucp $(whoami)

To add the Debian 10 login user to the plugdev group, run the following command:

$ sudo usermod -aG plugdev $(whoami)

Now, restart your Debian 10 machine with the following command:

$ sudo reboot

Once your computer starts, you should be able to find Arduino IDE in the Application Menu of Debian 10 as you can see in the screenshot below. Click on it to start the Arduino IDE.

Arduino IDE should start.

As you can see from Help > About Arduino, I am running Arduino IDE 1.8.9. This is the latest version of Arduino IDE at the time of writing.

So, that’s how you install Arduino IDE on Debian 10. Thanks for reading this article.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Top 10 Ubuntu Network Tools

Ubuntu is the most popular choice for underlying Operating System due to its ease of use and powerful shell system. Due...
29/12/2020

Cropping in Inkscape

The best way to crop is to create an object and shrink the picture to the object. When it comes to Inkscape, cropping...
29/12/2020

Hướng dẫn thêm một plugin vào checkmk

Checkmk chỉ có thể giám sát những dịch vụ có sẵn thôi sao? Vậy SSH và APACHE thì sao? Nếu như tôi...
30/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Reliable IPv4 and IPv6 Subnet Rental Services: The Perfect Solution for Global Businesses
23/12/2024

Tìm Hiểu Về Thuê Proxy US – Lợi Ích và Cách Sử Dụng Hiệu Quả
11/12/2024

Mua Proxy V6 Nuôi Facebook Spam Hiệu Quả Tại Onetcomvn
03/06/2024

Hướng dẫn cách sử dụng ProxyDroid để duyệt web ẩn danh
03/06/2024

Mua proxy Onet uy tín tại Onet.com.vn
03/06/2024