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

Install Arduino On Linux

This document provides a step-by-step guide to installing Arduino on a Linux system, specifically Ubuntu. It includes instructions for downloading the software, unpacking the installation package, moving it to the appropriate directory, and running the installation script. Finally, it outlines how to test the installation by uploading a sample program to the Arduino board.

Uploaded by

saarahhussain254
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)
5 views4 pages

Install Arduino On Linux

This document provides a step-by-step guide to installing Arduino on a Linux system, specifically Ubuntu. It includes instructions for downloading the software, unpacking the installation package, moving it to the appropriate directory, and running the installation script. Finally, it outlines how to test the installation by uploading a sample program to the Arduino board.

Uploaded by

saarahhussain254
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

You might also like