Home » » Install Arduino on Linux Mint 13

Install Arduino on Linux Mint 13

Posted by All Tutor Flashing Rom on Sunday, July 15, 2012



TRY THIS CODE
Downloaded version 0022 from:
  http://arduino.cc/en/Main/Software
  // it downloaded to my /home/mark/Downloads directory

// open terminal from Linux mint menu
Applications->Accessories->Terminal

// go to downloads directory
cd ~/Downloads

// untar the downloaded file
tar -vxzf arduino-0022.tgz

// change directory to replace librxtxSerial library    
cd arduino-0022/lib

// backup original lib
mv librxtxSerial.so librxtxSerial.so.orig

//find librxtxSerial library that works for this system
find / -ls 2>&1 | grep -i librxtxSerial

if librxtSerial library is not found somewhere in a /usr/lib subdirectory
  //  this will require root  password
 sudo apt-get install arduino
 // rerun the find command

else

// found it in /usr/lib/jni
// copy it to arduino-0022/lib directory
cp /usr/lib/jni/librxtxSerial.so .

// go up one directory
cd ..                            

// exec arduino software
./arduino




THE HARD WAY
tip1: if for some reason openJDK doesn't work for you, try the oracle JRE: http://www.java.com
  • it is HIGHLY recommended to use arduino IDE 1.0.1, because it use an internal pre-build gcc compiler. This exclude all tool-chain problem, or at least guarantee we all have the same problem.
tip2: if you stll want to use older IDE Install avr-gcc (aka "gcc-avr"), avr-gcc-c++, avr-lib only if you plan to use the arduino-IDE PRIOR 1.0.1
tip3:older arduino board (like arduino 2009, mini, etc..) works perfectly on the IDE 1.0.1
  • Plug In your arduino.
  • if prior to arduino UNO you should find
    /dev/ttyUSBX
where X is a number that may vary.
if arduino UNO you should find
/dev/ttyACMX
where X is a number that may vary

0 comments:

Post a Comment

Popular Posts

Powered by Blogger.
.comment-content a {display: none;}