Arduino: Instalasi di Ubuntu 20.04

From OnnoWiki
Revision as of 05:12, 27 July 2020 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Sumber: https://www.arduino.cc/en/Guide/Linux

Install

sudo apt update
sudo apt -y install libxtst6


Download

https://www.arduino.cc/en/Main/Software

Sebagai end-user / user biasa, lakukan extract & install

cd ~/Downloads
sudo mv arduino-1.8.13-linux64.tar.xz /usr/local/src/
cd /usr/local/src
sudo chmod -Rf 777 /usr/local/src/
tar -xJf arduino-1.8.13-linux64.tar.xz
cd arduino-1.8.13
sudo ./install.sh

Jangan sampai di delete folder arduino-nya karena nanti tidak bisa jalan.


Perbaiki Permission

sudo chmod -Rf 777 /dev/ttyACM0
sudo chmod -Rf 777 /dev/ttyUSB0


Menjalankan yang aman

cd /usr/local/src/arduino-1.8.13/
sudo arduino

Referensi


Pranala Menarik