Install Arduino IDE 1.8.2 on Linux

Introduction: Install Arduino IDE 1.8.2 on Linux

When I tried to install the Arduino IDE 1.8.2 on Linux like the
guidance on the Arduino website proposes, the install script returns multiple errors and i got very frustrated.

To prevent others from getting in that mood, I will share my solution, which i found, with you.

You only have to make little changes in the script and the installation will run flawlessly. This tutorial is for version 1.8.2 !

Step 1: Download the Arduino IDE

Go to www.arduino.cc => Software and download the package which fits to your system.

Step 2: Extract

Go to your Downloads directory and right-click on the downloaded arduino-1.8.2-linux64.tar.xz file or whatever your file is called.
Then click extract here and wait until you see two Arduino folders.

Step 3: Open Terminal

Go to your Downloads directory with
cd Downloads

and delete the compressed file with

sudo rm -r arduino-1.8.2-linux64.tar.gz

Then move your extracted Arduino file into the opt directory with

sudo mv arduino-1.8.2 /opt

Change into /opt directory and into the Arduino folder

cd /opt/arduino-1.8.2

Edit the install.sh script with

sudo nano install.sh

Search in the script for the line "RESOURCE_NAME=cc.arduino.arduinoide" and change it to "RESOURCE_NAME=arduino-arduinoide".

Step 4: Installation

Now make the script executable with the command

sudo chmod +x install.sh

and execute it with

./install.sh

Now you will not see any errors or bugs for the installation and you have the Arduino IDE flawlessly installed!

1 Person Made This Project!

Recommendations

  • Make It Bridge

    Make It Bridge
  • Game Design: Student Design Challenge

    Game Design: Student Design Challenge
  • For the Home Contest

    For the Home Contest

8 Comments

0
Tlaloc64
Tlaloc64

1 year ago on Introduction

This is my be nice comment. Fantastico!! Thank you for sharing. I had a bad install and this fixed it. Along the way I learned that Arduino IDE uses Python in the background and a bad or incomplete intstall of python can lead to compile errors. I worked out mine on the Arduino Forum.

0
I04NNiS
I04NNiS

2 years ago

UPDATE: The 'install.sh' has now been corrected by Arduino so you don't need to modify it. Just do the rest and remember to use 'sudo' before running the script, i.e. sudo ./install.sh
That's how it worked for me.

0
Trev_A
Trev_A

3 years ago

Just installed arduino-1.8.10 to Ubuntu 19.10 using the home/snap directory. Step 3 wasn't needed as the file already was in the format RESOURCE_NAME=arduino-arduinoide. But great guide.

0
englishrupe01
englishrupe01

3 years ago

Thanks so much from me too! I did not need to edit the cc.arduino etc as it was already done, but it helped me install from the terminal....thanks!

0
Kubrickhan
Kubrickhan

3 years ago

On linux 1.8.8/linux64 version, you may have to navigate to the arduino-1.8.8 folder inside an outer, once you've moved things to /opt. However, as things turn out, there's no need to change the RESOURCE_NAME, it's already as one wants it.

0
Dan69P
Dan69P

3 years ago

Thank you so very much !
I needed this......

0
DIY Hacks and How Tos

Good idea. It gives a few more options on how to setup an Arduino.