Arduino IDE is a free and open source integrated development environment for Windows, MacOS and Linux. Using this you can write code and upload it to the Arduino board. It supports all available Arduino boards. Arduino is a electronics platform based on hardware and software. Using Arduino programming language Arduino IDE, you can command Arduino boards like turning a motor, LED and publishing online like tasks. It is released under GNU general public license Version 2 license.
Install Arduino IDE on Ubuntu:
You can install Arduino IDE via snappy package manager on Ubuntu. Open your terminal console app (ctrl+alt+t) and run this Arduino IDE installation command.
sudo snap install arduino
Then type and enter your Ubuntu password.It will start the installation Arduino IDE on Ubuntu. After the installation in your terminal run this command to start Arduino IDE.
You need add your username to the dailout group to upload your code an arduino board over USB. For that run this command. replace $USER with your username.
sudo usermod -a -G dialout $USER
sudo snap connect arduino:raw-usb
After that restart your computer.
To know more about Arduino platform click here
You can code online via this Arduino Web Editor