Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Arduino IDE 1.8.12 on Linux

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

How to install Arduino IDE 1.8.12 on Linux, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

Arduino is a widely used open source electronic product prototype platform for creating devices that can interact with environmental information using a variety of sensors and actuators. It consists of a programmable hardware board and software (Integrated Technology Development work Environment (IDE), which is mainly used to write and upload program designs to the board.

Before you start building the project using Arduino, you need to set up IDE to program the board. Arduino (IDE) is a free open source and cross-platform desktop application that allows you to write code and upload it to the development board. It runs on Linux,Windows,Mac OS X.

We will show you how to install the latest version of Arduino software (IDE) on a Linux machine.

Install Arduino IDE on a Linux system

Arduino IDE is a software package that does not require any specific process for various Linux distributions. The only requirement is a 32-bit or 64-bit version of the operating system.

Download the Arduino software (IDE)

Go to the download page to get the latest version of Arduino IDE for the system architecture you support (1.8.12 at the time of this writing). You can choose between 32-bit, 64-bit, and ARM versions, because choosing the right version for your Linux distribution is critical.

In addition, you can download the Arduino software (IDE) package directly on the terminal using the following wget command.

[linuxidc@linux:~/www.linuxidc.com] $wget https://downloads.arduino.cc/arduino-1.8.12-linux64.tar.xz

Next, use the tar command to extract the downloaded archive file.

[linuxidc@linux:~/www.linuxidc.com] $tar-xvf arduino-1.8.12-linux64.tar.xz

Run the Arduino IDE installation script

Now, go to the extracted arduino-1.8.12 directory and run the installation script with root privileges, as shown below.

[linuxidc@linux:~/www.linuxidc.com] $cd arduino-1.8.12/ [linuxidc@linux:~/www.linuxidc.com/arduino-1.8.12] $sudo. / install.sh

[sudo] password of linuxidc:

Adding desktop shortcut, menu item and file associations for Arduino IDE...

Done!

After the installation is complete, a desktop icon will be created on your desktop to launch IDE and double-click it.

After selecting the board and serial port, there will be an error "Error opening serial port" when uploading sketch. To resolve this error, run the following command (replace linuxidc with your user name).

[linuxidc@linux:~/www.linuxidc.com] $sudo usermod-a-G dialout linuxidc

In addition, if you have a good Internet connection, you can use the Arduino Web editor (with the latest version of IDE). Its advantage is that it allows you to keep the sketch in the cloud and back it up so that they can be accessed from any device.

After reading the above, do you know how to install Arduino IDE 1.8.12 on Linux? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report