Difference between revisions of "Arduino: Instalasi di Ubuntu 22.04 Download"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
https://www.arduino.cc/en/Main/Software | https://www.arduino.cc/en/Main/Software | ||
− | https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0. | + | https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.4_Linux_64bit.zip |
+ | https://downloads.arduino.cc/arduino-ide/arduino-ide_2.1.0_Linux_64bit.zip | ||
+ | https://downloads.arduino.cc/arduino-ide/nightly/arduino-ide_nightly-latest_Linux_64bit.zip | ||
Sebagai end-user / user biasa, | Sebagai end-user / user biasa, | ||
Line 17: | Line 19: | ||
cd ~/Downloads | cd ~/Downloads | ||
− | wget https://downloads.arduino.cc/arduino-ide/arduino-ide_2. | + | wget https://downloads.arduino.cc/arduino-ide/arduino-ide_2.1.0_Linux_64bit.zip |
− | sudo mv | + | sudo mv arduino-ide_2.1.0_Linux_64bit.zip /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/ | ||
− | unzip | + | unzip arduino-ide_2.1.0_Linux_64bit.zip |
− | cd arduino- | + | cd /usr/local/src/arduino-ide_2.1.0_Linux_64bit |
− | |||
Jangan sampai di delete folder arduino-nya karena nanti tidak bisa jalan. | Jangan sampai di delete folder arduino-nya karena nanti tidak bisa jalan. | ||
+ | |||
+ | ==Run== | ||
+ | |||
+ | cd /usr/local/src/arduino-ide_2.0.4_Linux_64bit | ||
+ | ./arduino-ide | ||
==Perbaiki Permission== | ==Perbaiki Permission== | ||
Line 32: | Line 38: | ||
sudo chmod -Rf 777 /dev/ttyACM0 | sudo chmod -Rf 777 /dev/ttyACM0 | ||
sudo chmod -Rf 777 /dev/ttyUSB0 | sudo chmod -Rf 777 /dev/ttyUSB0 | ||
− | + | sudo chmod -Rf 777 /dev/ttyUSB1 | |
− | |||
==Menjalankan yang aman== | ==Menjalankan yang aman== |
Latest revision as of 10:08, 1 June 2023
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-ide/arduino-ide_2.0.4_Linux_64bit.zip https://downloads.arduino.cc/arduino-ide/arduino-ide_2.1.0_Linux_64bit.zip https://downloads.arduino.cc/arduino-ide/nightly/arduino-ide_nightly-latest_Linux_64bit.zip
Sebagai end-user / user biasa, lakukan extract & install
cd ~/Downloads wget https://downloads.arduino.cc/arduino-ide/arduino-ide_2.1.0_Linux_64bit.zip sudo mv arduino-ide_2.1.0_Linux_64bit.zip /usr/local/src/ cd /usr/local/src sudo chmod -Rf 777 /usr/local/src/ unzip arduino-ide_2.1.0_Linux_64bit.zip cd /usr/local/src/arduino-ide_2.1.0_Linux_64bit
Jangan sampai di delete folder arduino-nya karena nanti tidak bisa jalan.
Run
cd /usr/local/src/arduino-ide_2.0.4_Linux_64bit ./arduino-ide
Perbaiki Permission
sudo chmod -Rf 777 /dev/ttyACM0 sudo chmod -Rf 777 /dev/ttyUSB0 sudo chmod -Rf 777 /dev/ttyUSB1
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