Download and install and add permissions
wget https://downloads.arduino.cc/arduino-1.8.13-linux64.tar.xz ;
cd ~/Downloads/ ;
tar xvf arduino-1.8.13-linux64.tar.xz ;
cd arduino-1.8.13/ ;
sudo ./install.sh ;
sudo usermod -aG dialout $(whoami) ;
arduino ;
If you get a permission error when transferring the sketch file to the board, try the following.
Allows the usb serial port to be written.
sudo chmod a+rw /dev/ttyUSB0 ;
However, since it is troublesome to type the command every time, I will write the rule in udev.
sudo gedit /lib/udev/rules.d/50-udev-default.rules;
# serial
KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout", MODE="0666"
Recommended Posts