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

From OnnoWiki
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Sumber: https://www.arduino.cc/en/Guide/Linux
 
Sumber: https://www.arduino.cc/en/Guide/Linux
 +
 +
Install
 +
 +
sudo apt update
 +
sudo apt -y install libxtst6 canberra*
  
  
Line 6: Line 11:
 
  https://www.arduino.cc/en/Main/Software
 
  https://www.arduino.cc/en/Main/Software
  
Extract
+
Sebagai end-user / user biasa,
 +
lakukan extract & install
  
sudo su
 
 
  cd ~/Downloads
 
  cd ~/Downloads
  tar -xJf arduino-1.8.5-linux64.tar.xz  
+
sudo mv arduino-1.8.13-linux64.tar.xz /usr/local/src/
  cd arduino-1.8.5
+
cd /usr/local/src
  ./install.sh
+
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.12/
 +
sudo arduino
  
 
==Referensi==
 
==Referensi==
  
 
* https://www.arduino.cc/en/Guide/Linux
 
* https://www.arduino.cc/en/Guide/Linux
 +
 +
 +
==Pranala Menarik==
 +
 +
* [[Arduino]]

Latest revision as of 05:11, 27 July 2020

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

Install

sudo apt update
sudo apt -y install libxtst6 canberra*


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.12/
sudo arduino

Referensi


Pranala Menarik