Skip to content Skip to sidebar Skip to footer

Widget HTML #1

How to Install Arduino IDE On Ubuntu Linux Using Terminal

How to Install Arduino IDE On Ubuntu Linux

How to Install Arduino IDE On Ubuntu Linux - Using Linux as the OS in the development of microcontroller electronic devices is the right choice for me. 

This article is based on my experience that several times failed to install Arduino linux.  In linux OS we have to do the installation starting from the downloaded extraxt folder and set permisson using the terminal.

Install Arduino Linux

The steps are:

1. Download the Arduino file with the tar.xz extension. In this tutorial I downloaded arduino-1.8.13-linux64 Version.

2. After the download is complete, open Terminal and go to your Download folder using command.

cd Downloads/

3. We will extract it using command:

tar -xf arduino-1.8.13-linux64.tar.xz

4. Now we will move the extracted arduino folder into the /opt folder, use the following command:

sudo mv arduino-1.8.13 /opt/

5. Then we go into the arduino folder which is in the /opt folder.

cd /opt/arduino-1.8.13/

6. (Optional) Show the files in the arduino-1.8.10 folder in the form of a list to view the file using the command:

ls -l

7. Make the file executable using the command:

chmod +x

8. Install Arduino with the command:

sudo ./

9. Done. Arduino is installed on your computer.

The following is a list of commands used in the Arduino installation process on Ubuntu Linux.

How to Configure Permission Denied Port

When you upload the code to the Arduino board and an error appears like this:

avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied

How to fix it:

1. Modify user accounts.

sudo usermod -a -G dialout <username>

For example, my computer username is neon, then write:

sudo usermod -a -G dialout neon

2. Give permission for ports to be read and written using the terminal with two commands:

sudo chmod a+rw /dev/tty<ACM or USB>

For example, the detected port name is ttyUSB0, then the command is:

sudo chmod a+rw /dev/ttyUSB0

3. Done

If you think this article is useful, please share it with your friends using the share button below this article

Post a Comment for "How to Install Arduino IDE On Ubuntu Linux Using Terminal"