Install Arduino IDE 1.8.2 on Linux

by patrickthecreator in Circuits > Linux

94932 Views, 19 Favorites, 0 Comments

Install Arduino IDE 1.8.2 on Linux

arduinologo_htCSXb1y3I.png.jpeg

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 !

Download the Arduino IDE

arduinowebsite_hSvt9ZGW9Y.png.jpeg

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

Extract

downloadsordner_W0O1S6YEg6.png.jpeg

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.

Open Terminal

installsh_JSEvh9qkpB.png.jpeg

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".

Installation

runinstall_h7cAi9GGbv.png.jpeg

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!