Friday, May 3, 2024
16
rated 0 times [  16] [ 0]  / answers: 1 / hits: 96195  / 2 Years ago, mon, may 23, 2022, 7:35:04

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?


More From » software-installation

 Answers
6

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

Install using flatpak package


flatpak install flathub cc.arduino.IDE2  # cc.arduino.arduinoide for v1.x

Install using Ubuntu Make (on GitHub)



Ubuntu Make is a command line tool which allows you to download the latest version of popular developer tools on your installation




  1. 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





  1. 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).


Install using arduino.cc


Just follow official guide (or Canonical's tutorial):



  1. Download the Arduino Software (IDE). lscpu will tell you if 32 or 64 bits. If unsure, use 32 bits.

  2. Extract the package (from terminal tar -xvf arduino-1.8.2-linux64.tar.xz).

  3. Run the installation script (./install.sh).


[1]: http://arduino.esp8266.com/p


Install using snap package


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.


Notes







[#40167] Tuesday, May 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
amacal

Total Points: 457
Total Questions: 102
Total Answers: 116

Location: Thailand
Member since Thu, Apr 22, 2021
3 Years ago
;