Install Arduino IDE 2
Arduino pretty much has it covered with the Official Documentation (opens in new tab).
After installing, keep going with: Installing the ESP32 Board Package
Make sure your user has permission to access USB serial ports.
In a terminal window, run the following command:
getent group dialout
getent group uucp
If you don’t see your user in the list, you will need to add yourself.
sudo usermod -aG dialout $USER
sudo usermod -aG uucp $USER
There are tricks to reload groups, but just keep it simple and fully log out & back in again.
In the spirit of keeping things simple, flatpak is highly suggested. Unfortunately snap only has version 1.
sudo dnf install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install cc.arduino.IDE2
sudo apt install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install cc.arduino.IDE2
sudo pacman -S flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install cc.arduino.IDE2
If you want to install the AppImage or zip, it’s best to visit the Official Documentation .
Everything good? It’s time to install the ESP32 Board Package