Difference between revisions of "Arduino: Instalasi di Ubuntu 18.04"

From OnnoWiki
Jump to navigation Jump to search
Line 14: Line 14:
  
 
  cd ~/Downloads
 
  cd ~/Downloads
  mv arduino-1.8.10-linux64.tar.xz /usr/local/src/
+
  mv arduino-1.8.12-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.10-linux64.tar.xz
+
  tar -xJf arduino-1.8.12-linux64.tar.xz
  cd arduino-1.8.10
+
  cd arduino-1.8.12
 
  ./install.sh
 
  ./install.sh
  
Line 33: Line 33:
 
==Menjalankan yang aman==
 
==Menjalankan yang aman==
  
  cd /usr/local/src/arduino-1.8.10/
+
  cd /usr/local/src/arduino-1.8.12/
 
  sudo arduino
 
  sudo arduino
  

Revision as of 10:53, 23 March 2020

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

Install

sudo apt-get install libxtst6


Download

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

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

cd ~/Downloads
mv arduino-1.8.12-linux64.tar.xz /usr/local/src/
cd /usr/local/src
sudo chmod -Rf 777 /usr/local/src/
tar -xJf arduino-1.8.12-linux64.tar.xz
cd arduino-1.8.12
./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.12/
sudo arduino

Referensi


Pranala Menarik