This document explains how lớn install the Software (IDE) on Linux machines.

Bạn đang xem: Arduino ide 1 portable installation

Quick Start

The Linux build of the Software (IDE) comes in different packages depending on your system architecture. There are no specific instructions needed for the different distributions of Linux (e.g. Ubuntu).

Download the Software (IDE)

Get the latest version from the tải về page. You can choose between the 32, 64 and ARM versions. It is very important that you choose the right version for your Linux distro. Clicking on the chosen version brings you khổng lồ the donation page and then you can either mở cửa or save the file. Please save it on your computer.

Save the file.

Extract the package

The tệp tin is compressed & you have khổng lồ extract it in a suitable folder, remembering that it will be executed from there.

Extracting the package.

Run the Install Script

Open the thư mục just created by the extraction process & spot the file. Right click on it & choose Run in Terminal from the contextual menu. The installation process will quickly end và you should find a new icon on your desktop.

If you don't find the option to lớn run the script from the contextual menu, you have to open a Terminal window & move into the root directory & run the following command:

1sudo sh
This method only works for versions greater or equal than 1.6.5. Remove sudo từ khóa if already running the terminal with administrative rights.

You should find a new icon on your desktop.

Running the installation script.

Please Read

It might happen that when you upload a sketch - after you have selected your board and the serial port -, you get an error Error opening serial port ...If you get this error, you need lớn set serial port permission.

Open Terminal và type:

ls -l /dev/ttyACM*

you will get something like:

crw-rw---- 1 root dialout 188, 0 5 apr 23.01 ttyACM0

The "0" at the kết thúc of ACM might be a different number, or multiple entries might be returned. The data we need is "dialout" (is the group owner of the file).

Now we just need to địa chỉ our user to lớn the group:

sudo usermod -a -G dialout username>

where username> is your Linux user name. You will need to log out và log in again for this change khổng lồ take effect.

Adding user to lớn the group.

This is the procedure khổng lồ access the serial port from the Software (IDE) if you get an error

After this procedure, you should be able lớn proceed normally and upload the sketch lớn your board or use the Serial Monitor.

Xem thêm: Đánh Giá Trường Vĩnh Viễn Tphcm, Hồ Chí Minh City (0913115048)

The text of the getting started guide is licensed under aCreative Commons Attribution-ShareAlike 3.0 License. Code samples in the guide are released into the public domain.