Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Jul 2014, 02:50
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
new old topic - Arduino under Puppy Precise
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
thewrightman

Joined: 07 Jul 2014
Posts: 3

PostPosted: Mon 07 Jul 2014, 14:07    Post subject:  new old topic - Arduino under Puppy Precise
Subject description: From xp to Puppy - need Arduino IDE
 

The demise of XP gave me the push. Get Puppy Precise running on ancient laptop then I could keep the development machine in a drawer in the workshop when not in use.

Sounds easy. Linux users claim that it soooooo easy to install programs - and most have been, but Arduino is the exception. No idea of what I have done wrong and cannot apparently correct it.

Don't want useless style travel advice i.e. don't start from here. The old laptop is what I have and that is what I should be using. So, does anybody know of an idiots guide to getting Arduino up and running under Precise?

Thanks for the help,

Ian

P.S. Even as a new kid on the block I can appreciate some of the charm of Linux. More is undoubtedly to come!
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Mon 07 Jul 2014, 15:50    Post subject:  

hello thewrightman,

not sure how you tried to install the arduino ide but, as it's java based, you can download either the 1.0.5 ide, (or the 1.5.7beta depending on which board you have) from here, extract it anywhere, and the ide should work...providing you have a working java installation.

For a working java install, see Shinobar's thread here, for a java sfs file.

The latest is jre-1.8.0.05.sfs. Just download to /mnt/home, right-click, then select sfs-load.
Back to top
View user's profile Send private message 
thewrightman

Joined: 07 Jul 2014
Posts: 3

PostPosted: Thu 10 Jul 2014, 13:08    Post subject: Thanks for the reply  

Thanks for the reply Muggins.

I did what you suggested namely:

1) "For a working java install, see Shinobar's thread here, for a java sfs file.

The latest is jre-1.8.0.05.sfs. Just download to /mnt/home, right-click, then select sfs-load." Useful tip with the right click.

2) downloaded the 1.0.5 ide

but still no joy. Nothing happens when I try and launch Arduino. Do I ned to modify a config filw somewhere so that Arduino can find the Java installtion?

I try again at the weekend but thanks again.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Thu 10 Jul 2014, 19:38    Post subject:  

Since I didn't have an install of precise, I downloaded precise-5.7.1.iso & did a frugal install. I then downloaded jre-1.8.0.05.sfs, right-clicked & selected sfs_load. (i checked it was working by just running the command java in a terminal.)

Then I downloaded arduino-1.0.5-linux32.tgz, extracted it, then clicked on the included arduino script, and it opened the ide straight away. (see attached screeny)

If you wanted it to be in the menu, say you had a frugal install, and had extracted the arduino archive to /mnt/home, then right-click the arduino script & symlink it to /usr/bin, then copy the text below and save to /usr/share/applications/arduino.desktop:

Code:
[Desktop Entry]
Encoding=UTF-8
Name=Arduino IDE
Icon=/mnt/home/arduino-1.0.5/reference/img/logo.png
Comment=Arduino IDE
Exec=/usr/bin/arduino
Terminal=false
Type=Application
Categories=Utility
GenericName=Arduino IDE


then run the command fixmenus in a console, then Menu>Shutdown>Restart JWM, then it will appear under the utility section of the menu.
arduino.png
 Description   
 Filesize   39.88 KB
 Viewed   76 Time(s)

arduino.png

Back to top
View user's profile Send private message 
thewrightman

Joined: 07 Jul 2014
Posts: 3

PostPosted: Sat 12 Jul 2014, 08:44    Post subject: nosuch file
Subject description: problems after downloading java
 

First of thanks for the patience and the friendly advice.

Just downloaded jre-1.8.0.05.sfs to mnt/home and did a sfsload. It appeared to work. Then went to console and typed "java" and got the message "no such file" for /usr/java/jre*. Change directory to /mnt/home and tried again. Same message.

Just out of interest, tried to extract arduino tqz file to /mnt/home and got "wrapper excited with error"

Once again thanks for your time and help.

Ian
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Sat 12 Jul 2014, 08:50    Post subject:  

Quote:
Just downloaded jre-1.8.0.05.sfs to mnt/home and did a sfsload. It appeared to work. Then went to console and typed "java" and got the message "no such file" for /usr/java/jre*. Change directory to /mnt/home and tried again. Same message.

Just out of interest, tried to extract arduino tqz file to /mnt/home and got "wrapper excited with error"


Are you on dialup? this sounds like incomplete/corrupted downloads. I would try downloading both again using wget in a terminal.

Code:
wget -c http://shinobar.server-on.net/puppy/opt/jre-1.8.0.05.sfs
wget -c http://arduino.googlecode.com/files/arduino-1.0.5-linux32.tgz
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0600s ][ Queries: 12 (0.0091s) ][ GZIP on ]