SERVFORU

Install Arduino on Linux Mint 13



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
Share this article :
 

+ comments + 1 comments

June 16, 2013 at 2:50 PM

Good night, after running the Arduino IDE, I can not find one in the list Arduino and ports are dv/ttyS0 or dv/ttyS1.
How I can fix the software so it works.

Post a Comment

 
Support : Ebin EPhrem | Ebin Ephrem | #Gabbarism
Copyright © 2011. Services | Embedded Support | Reviews | Virtual Technologys - All Rights Reserved
Template Created by ebinephrem.com Published by Ebin Ephrem
Proudly powered by Blogger