Pages: [1]   Go Down
Author Topic: instalation for ubuntu problem  (Read 862 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i got an arduino uno and tried to install the arduino software on ubuntu 10.04 lts but whenever i click on the arduino program it opens in open office and looks like this

#!/bin/sh
 
APPDIR="$(dirname -- $(readlink -f -- "${0}") )"

cd $APPDIR
 
for LIB in \
    java/lib/rt.jar \
    java/lib/tools.jar \
    lib/*.jar \
    ;
do
    CLASSPATH="${CLASSPATH}:${LIB}"
done
export CLASSPATH

LD_LIBRARY_PATH=`pwd`/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

export PATH="${APPDIR}/java/bin:${PATH}"

java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base




can anyone help me im new to arduino (and ubuntu)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

when i put the program on desktop and click on it. it says that it is an executable text file and when i click on run the window dissaperes and nothing happens
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It sounds like you are having a problem with auto-run. When I double click the 'arduino' file in Ubuntu it gives me the option to display, run, etc..., you may wish to look at your auto-run settings if you want to fix the problem of it automatically opening in OpenOffice. If you are familiar with the terminal you can open the program from there. Just follow this example.


Code:
//Install Java if you haven't already
sudo apt-get install openjdk-6-jre

//If you already have the file extracted then you can skip this step. This will download and extract the 1.0.1 software for 64-bit Ubuntu
wget http://arduino.googlecode.com/files/arduino-1.0.1-linux64.tgz
tar xf arduino-1.0.1-linux64.tgz

//You will need to 'cd' into the extracted arduino folder. I assume that you are following the previous step.
cd arduino-1.0.1/

//Now just execute the program
./arduino
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 116
Posts: 5393
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can't copy or move that arduino shell script to your desktop. It depends on being in that directory. You can make a link to that shell script and move the link to your desktop. I use Nautilus to do that stuff.
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 8
Posts: 1992
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.pluggy.me.uk/arduino-ubuntu/
Logged


Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 116
Posts: 5393
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@pluggy: Whew! That is a nice article, but it takes all that to install Arduino IDE with v10.04? With v11.10 it is:
1) Select "Dash Home" on the toolbar.
2) Search for "arduino".
3) Select "install".
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 8
Posts: 1992
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The repository version in 10.04 is hopelessly out of date and it wouldn't work with more recent boards like the Uno.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thx dengar, pluggy does that mean i have to get 10.10 to use an uno
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 8
Posts: 1992
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I didn't investigate the repository version in 10.10.  I'm on 12.04 now, making allowances for the entirely different interface, you can use a similar process to my tutorial for 12.04 and the latest 1.01 Arduino.  I had to tweak the membership of the dialout group on 12.04 on my machine, which I didn't need on 10.04.  I haven't even looked at what version of Arduino 12.04 installs by default. 
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ive upgraded to 12.04 and it still does the same thing
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 116
Posts: 5393
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ive upgraded to 12.04 and it still does the same thing
Does the same what? Opens in Open Office? Doesn't run when you move/copy it to your desktop?

Did you install the Arduino IDE from the Ubuntu repository? I think it is still v0022. I don't use it, but it seems to install and set up everything correctly. I recommend that first. Then try downloading the current version from the Arduino website (v1.0.1).
Logged

Pages: [1]   Go Up
Jump to: