This installation is very straightforward:
- visit Arduino Software download page to download the Linux 32 bits or 64 bits version corresponding to your system.
- Extract the downloaded file to the where you want to install.
- Open Terminal to run the install.sh with sudo.
$ sudo ./install.sh
After finished, you can start Arduino IDE with arduino command or from Application launcher.
But...up to this step, you have no permission to access the serial port. When you download the code to Arduino devices, you will be reported with error:
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
To fix it, you have to add permission:
- Open Terminal, enter the command:
$ sudo usermod -a -G dialout <username>
$ sudo chmod a+rw /dev/ttyACM0