I have an Arduino UNO, which I need to get working with Ubuntu.
Can somebody explain to me the steps required to install the IDE on Ubuntu?
I have an Arduino UNO, which I need to get working with Ubuntu.
Can somebody explain to me the steps required to install the IDE on Ubuntu?
Arduino IDE from Ubuntu's repos are usually outdated. There are several ways to install the latest Arduino IDE: with umake
, from arduino.cc tar.gz, as a snap or flatpak. In all cases you may need to add your user to dialout
group (if it doesn't work, add it also to tty
group):
sudo adduser $USER dialout
flatpak install flathub cc.arduino.IDE2 # cc.arduino.arduinoide for v1.x
Ubuntu Make is a command line tool which allows you to download the latest version of popular developer tools on your installation
Install Ubuntu Make
sudo apt install ubuntu-make
If not using Ubuntu 18.04+ or want the latest versions:
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt update
Install Arduino IDE with umake
umake electronics arduino
Warning: umake ide arduino
is deprecated.
This will install it on ~/.local/share/umake/electronics/arduino
. If you don't get the shortcut available you'll need to run install.sh
found there.
Some other software options (like Eagle or Sublime) are not free software. I recommend instead Fritzing and VSCodium (a community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code).
Just follow official guide (or Canonical's tutorial):
lscpu
will tell you if 32 or 64 bits. If unsure, use 32 bits.tar -xvf arduino-1.8.2-linux64.tar.xz
)../install.sh
).sudo snap install arduino
If you need any other Python 3 dependencies other than serial
, you can install them inside the snap sandbox using the arduino.pip
command.
/opt/
or /usr/local/
.You also have
With the latest versions come newer features like the "Additional Boards Manager URLs" on Preferences (to add ESP8266 board):