0% found this document useful (0 votes)
16 views4 pages

Install Arduino IDE on Linux

Uploaded by

m524nwvr76
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views4 pages

Install Arduino IDE on Linux

Uploaded by

m524nwvr76
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

INSTALL ARDUINO ON LINUX

Step 1: Download the Latest Version of the Official Website

Access the site [Link] and download the


package that fits the settings of the computer you are using, in my case it is an Ubuntu
x64.
You will be redirected to a page where you can choose to contribute with Arduino
software or not, if you do not want to contribute click on "JUST DOWNLOAD" link

1/4
Step 2: Installing Arduino
After the download, open a terminal and type:
cd Downloads/
This command will cause the terminal to go to the download folder where the
installation package was downloaded
type it:
ls
This command lists the files in the folder, it is important to know the package name In
my case
"[Link]"
To unpack the package:
tar -Jxf [Link]
Remember that if your has the different name you should replace the correct name in
the command
If you execute "ls" again you will get:
"Arduino-1.8.5"
"Arduino-1.8.5 [Link]"
So that the folder does not remain in downloads, let's move it to a more
appropriate folder, using the command:
sudo mv Arduino-1.8.5 /usr/share
Let's acess the moved folder using:
cd /usr/share/arduino-1.8.5/
If you execute "ls" again must be obtained:
"arduino hardware lib [Link] [Link]
arduino-builder [Link] libraries tools examples
java reference tools-builder"
And finally run the installation script that comes with the package using:
sudo ./[Link]
At the end of the installation, the terminal should look like the following:
2/4
Step 3: Testing

3/4
To run the program enter:
sudo ./[Link]
Note that this command will only work inside the folder where the installation
was done.
After the command a window should open.
Select the port being used "Tool> Port:> port_that_the_arduino_is_connected" Open
the Blink example "File> Examples> 01. Basics> Blink"
Click on the code upload button.
Check if the program was able to load the code on Arduino.
If no error message appears, you have finished installing correctly.

4/4

Common questions

Powered by AI

To successfully install the Arduino software on a Linux system, the following steps should be followed: First, download the latest version from the official Arduino website compatible with your system architecture, such as Ubuntu x64 . Next, navigate to the Downloads directory using the terminal, and list the files to verify the package name . Unpack the downloaded package using the tar command, and move the extracted directory to '/usr/share' for better organization . Change to the directory where the software was moved and run the 'install.sh' script with sudo to ensure all necessary permissions are granted . Finally, run 'sudo ./install.sh' within this directory to start the Arduino software, allowing you to select the proper port and check functionality using the Blink example . These steps ensure the software is installed correctly and located in a standard directory for system software, facilitating compatibility and management.

Moving the Arduino installation folder to '/usr/share' is significant because it aligns with Linux filesystem hierarchy standards, where '/usr/share' is used for architecture-independent data shared among packages . This organization helps in maintaining a clean directory structure and ensures that software applications are stored in a location conventional for all users, aiding ease of access and administration of software packages across the system.

Using terminal commands facilitates the Arduino installation on Linux by providing a direct and efficient way to manage files, run scripts, and handle permissions necessary for installation . Commands like 'cd', 'ls', 'tar -Jxf', and 'sudo mv' allow users to navigate filesystems, extract archives, and move folders with precision. This approach benefits users by offering greater control and flexibility, reducing reliance on graphical interfaces that may vary between Linux distributions, and enabling scripts to automate repetitive tasks, thus enhancing efficiency and consistency across installations.

Verifying the absence of error messages when running a program on the Arduino post-installation confirms the integrity and success of the installation process . This step ensures that the software dependencies and configurations are correctly set up, which is essential for proper communication and functionality with the hardware. Absence of errors means that the software can compile and upload code as intended, reflecting a stable installation environment. Such validation helps in identifying potential installation missteps early, preventing future issues and ensuring reliable operation.

You might also like