How to install latest Arduino IDE? [duplicate]
Arduino IDE is installable with Ubuntu Make:
-
Install Ubuntu Make
-
for Ubuntu 16.04 LTS from official PPA
ppa:lyzardking/ubuntu-make
:sudo add-apt-repository ppa:lyzardking/ubuntu-make sudo apt-get update sudo apt-get install ubuntu-make
PPA is needed because of two fact: package for 16.04 LTS does not support installation of Arduino.
Note: umake from 18.04 Universe repo may fail installing arduino ide. If so, you will need to purge ubuntu-make and install from the PPA. If this is the case you will also need to delete ~/.local/share/umake with
rm -rf ~/.local/share/umake
. See this QA for more info.-
for Ubuntu 18.04 LTS and newer systems from universe repository:
sudo apt-get update sudo apt-get install ubuntu-make
-
-
Install Arduino IDE with Ubuntu Make
umake electronics arduino
or for 18.04 (without PPA, may fail)
umake ide arduino
This will download Arduino IDE from official site and install it to ~/.local/share/umake/ide/arduino and set corresponding shortcuts and file associations for it.
You can repeat this command again to get newer version.
Note: do not forget to add your user to dialout group with sudo usermod -a -G dialout $USER
.
The easiest way to install the latest Arduino IDE is to use the arduino snap:
snap install arduino
Then add your user to the dailout
group:
sudo usermod -a -G dialout $USER
After this, reboot your device and open Arduino IDE.
A note about Python support
The Arduino IDE snap runs inside of a sandbox for security and stability reasons. This means it cannot access the Python libraries on your device. The snap bundles Python 3 and the serial
library. If you need any other Python dependencies, you can install them inside of the sandbox using the arduino.pip
command.
arduino.pip install <package-name>
Note: do not use sudo
for this command