In this tutorial, we will show you how to install Arduino IDE on AlmaLinux 8. For those of you who didn’t know, Arduino is free, open-source software that is used for writing, uploading, and compiling the programming code to Arduino boards. It consists of an editor and a compiler that enables better and assisted editing and compiling. The Arduino IDE is supported by many operating systems such as Linux, Windows, and macOS.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you through the step-by-step installation of the Arduino IDE on an AlmaLinux 8. You can follow the same instructions for CentOS and Rocky Linux.
Prerequisites
- A server running one of the following operating systems: AlmaLinux 8, CentOS, and Rocky Linux 8.
- It’s recommended that you use a fresh OS install to prevent any potential issues
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Arduino IDE on AlmaLinux 8
Step 1. First, let’s start by ensuring your system is up-to-date.
sudo dnf update
Step 2. Installing Arduino IDE on AlmaLinux 8.
By default, Arduino is not available on the AlmaLinux 8 base repository. Now we run the following command to download the latest Arduino IDE to your system:
wget https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz
Next, extract the archive file using the tar command:
tar -xvf arduino-1.8.19-linux64.tar.xz
Now navigate to the extracted archive, then run the install.sh script as follows:
cd arduino-1.8.19/ sudo ./install.sh
Step 3. Accessing Arduino IDE on CentOS.
Once successfully installed, launch the Arduino on your system by clicking on the ‘Activities’ menu and then type Arduino in the search bar or launch Arduino IDE from the shell, use the below command:
arduino
Congratulations! You have successfully installed Arduino. Thanks for using this tutorial for installing the Arduino IDE on your AlmaLinux 8 system. For additional help or useful information, we recommend you check the official Arduino website.