Arduino IDE 2.0 (beta) is now available (refer to announcement in Arduino blog). It,s my first try to install Arduino IDE 2.0 beta (2.0.0-beta3) on Linux Mint 20.1, tested with VirtualBox 6.1/Windows 10.
Download Arduino IDE 2.0 beta
Visit https://www.arduino.cc/en/software, scroll download to download Arduino IDE 2.0 beta for Linux 64 bits (X86-64).
Run arduino-ide
Extract the downloaded file to a any folder you want. Run arduino-ide in
Terminal
$ ./arduino-ide
Install board
In a fresh new installed Arduino IDE 2.0, no board is installed, you will be report with error:
Compilation error: Error: 2 UNKNOWN: platform not installed
Click Boards Manager on left, search to install Arduino AVR Boards by Arduino.
Add permission to user, to access USB
In a new Linux, you (as a regular user) have no permission to access USB port, and report with error:
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
Open Terminal, enter the command to add permission:
$ sudo usermod -a -G dialout <username>
$ sudo chmod a+rw
<port>
Done.
Install board support for ESP32/ESP8266