How to install arduino ide in ubuntu?

by margarett , in category: Installation & Upgrades , 5 months ago

How to install arduino ide in ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by gabrielle.kub , 2 months ago

@margarett  Follow these steps to install Arduino ide in Ubuntu:

  • Download the Linux 64-bit Arduino IDE.
  • Unzip and extract the archive file with the command:
1
tar -xf arduino-*.tar.xz
  • Move the newly extracted folder to
1
/opt': 'sudo mv arduino-* /opt/arduino-*
  • Change the ownership of the folder with the command:
1
sudo chown -R root:root /opt/arduino-*
  • Create a symbolic link with
1
sudo ln -s /opt/arduino-x.x.x/arduino /usr/bin/arduino
  • Create a desktop shortcut by creating a file named 'arduino.desktop' in '/usr/share/applications/' and paste the content below into it.
1
2
3
4
5
6
7
8
9
[Desktop Entry]
Name=Arduino IDE
Comment=Arduino Development Environment
Exec=/opt/arduino-x.x.x/arduino %U
Icon=/opt/arduino-x.x.x/lib/arduino.png
Type=Application
Encoding=UTF-8
Terminal=false
Categories=Development;
  • Set the correct ownership of the 'arduino.desktop' file with the command:
1
sudo chown root:root /usr/share/applications/arduino.desktop
  • Finally, make it executable by running the command:
1
sudo chmod +x /usr/share/applications/arduino.desktop