Arduino is a widely-used, open-source electronics platform used to create devices that interact with their environment using sensors and actuators. It consists of a programmable hardware board and a software (Integrated Development Environment(IDE)) for writing and uploading programs to the board.
Before you can start building projects using Arduino, you need to set up the IDE to program your boards. The Arduino (IDE) is a free open-source and cross-platform desktop application that allows you to write code and upload it to the board. It runs on Linux, Windows, and Mac OS X, and Linux.
Installing Arduino IDE
Alternatively, you can use the following wget command to download the Arduino Software (IDE) package directly on the terminal.
$ wget https://downloads.arduino.cc/arduino-1.8.12-linux64.tar.xz
Next, extract the downloaded archive file using the tar command.
$ tar -xvf arduino-1.8.12-linux64.tar.xz
Run Arduino IDE Install Script
Now move into the extracted
arduino-1.8.12 directory and run the installation script with root privileges as shown.
$ cd arduino-1.8.12/
$ sudo ./install.sh
Once the installation is done, a desktop icon will be created on your desktop, to launch the IDE, double click on it.