How to install Arduino IDE on linux

At the moment I have Linux 20.04 and Arduino IDE I managed to install only version 1.8.15 – why? – I will tell further.

My unsuccessful attempts to install the Arduino IDE on linux

On the official site https://www.arduino.cc/en/software there is a distribution. Everything is fine, downloaded it, unpacked it. But here’s the problem: the executive file does not open.
I started to figure it out – the advice was to reinstall the Java JDK – but I went in circles, because. Java JDK is installing with an error.
Well, the next thought – you need to update Linux to version 21.XX or even 22.XX – found “Murzilka” to update, did all the preparatory operations: sudo apete update, upgrade, etc., but the phrase “make backup” confused. .. I read the comments – many did not succeed – and this option does not suit me at all.
Now the thought came: so, I have an old Linux version, why not install the old version of the Arduino IDE?

How I installed Arduino IDE on linux

  1. We carry out all the preparatory operations Update and Upgrade:
    sudo apt update && sudo apt upgrade

  2. Download the package from Arduino IDE version 1.8.15:
    wget https://downloads.arduino.cc/arduino-1.8.15-linux64.tar.xz

  3. Find our downloaded archive and unpack it:
    Here I acted simply: right-click – unpack “here”

  4. We fall into the unpacked folders:
    arduino-1.8.15-linux64 / arduino-1.8.15 / install.sh

  5. We see the file install.sh but do not rush to call him. Several attempts to click on it were unsuccessful – the “Loading” wheel was spinning in the upper left corner for a few seconds, then it disappeared and simply nothing happened. Well, everything … boiled to the limit … right there (in the same folder) I open the console (right-click / terminal) and enter the command
    sudo ./install.sh

  6. We go into “Applications” – I immediately noticed on the last page that something has been added, something new has appeared here – I’m looking – yes !!! here she is !!!