How to set up arduino in Ubuntu

How to set up arduino 1.8.19 to run the following
ESP wroom-32, ESP8266, ESP8266 D1 mini and ESP 32-c3 supermini on a computer with Ubuntu Thanks

  1. Open the Arduino IDE, and from the menu at the top, select File/Preferences.

  1. In the Additional Boards Manager URLs, add the following lines:
https://arduino.esp8266.com/stable/package_esp8266com_index.json
https://espressif.github.io/arduino-esp32/package_esp32_index.json
  1. From the menu at the top of the IDE, select Tools/Board/Board Manager

  1. Search for ESP-32 (the espressif library) and install it. Do the same for the ESP8266.

  2. Go back to the top menu and select Tools/Board. You should see selections for both board types.

It worked great for me, Thanks!