Difference between revisions of "Arduino: Instalasi di Ubuntu 20.04"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
https://www.arduino.cc/en/Main/Software | https://www.arduino.cc/en/Main/Software | ||
+ | |||
+ | https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz | ||
Sebagai end-user / user biasa, | Sebagai end-user / user biasa, | ||
Line 15: | Line 17: | ||
cd ~/Downloads | cd ~/Downloads | ||
− | sudo mv | + | wget https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz |
+ | sudo mv arduino-1.8.19-linux64.tar.xz /usr/local/src/ | ||
cd /usr/local/src | cd /usr/local/src | ||
sudo chmod -Rf 777 /usr/local/src/ | sudo chmod -Rf 777 /usr/local/src/ | ||
− | tar -xJf arduino-1.8. | + | tar -xJf arduino-1.8.19-linux64.tar.xz |
− | cd arduino-1.8. | + | cd arduino-1.8.19 |
sudo ./install.sh | sudo ./install.sh | ||
Line 34: | Line 37: | ||
==Menjalankan yang aman== | ==Menjalankan yang aman== | ||
− | cd /usr/local/src/arduino-1.8. | + | Sebaiknya jalankan sebagai user biasa |
+ | |||
+ | arduino | ||
+ | |||
+ | Jika dibutuhkan dapat sebagai root | ||
+ | |||
+ | |||
+ | cd /usr/local/src/arduino-1.8.19/ | ||
sudo arduino | sudo arduino | ||
Latest revision as of 06:49, 8 August 2022
Sumber: https://www.arduino.cc/en/Guide/Linux
Install
sudo apt update sudo apt -y install libxtst6 libcanberra-gtk-module
Download
https://www.arduino.cc/en/Main/Software
https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz
Sebagai end-user / user biasa, lakukan extract & install
cd ~/Downloads wget https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz sudo mv arduino-1.8.19-linux64.tar.xz /usr/local/src/ cd /usr/local/src sudo chmod -Rf 777 /usr/local/src/ tar -xJf arduino-1.8.19-linux64.tar.xz cd arduino-1.8.19 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
Sebaiknya jalankan sebagai user biasa
arduino
Jika dibutuhkan dapat sebagai root
cd /usr/local/src/arduino-1.8.19/ sudo arduino
Referensi