I followed the instructions from the book, titled Installing Arduino in Raspian. BIG FAIL. The word electronics did not show up. I have the latest download of Wheezy. Would appreciate some help on this. Thanks Jimmy
I followed the instructions from the book, titled Installing Arduino in Raspian. BIG FAIL. The word electronics did not show up. I have the latest download of Wheezy. Would appreciate some help on this. Thanks Jimmy
Just for fun I started with a fresh install.
I did
sudo apt-get update
sudo apt-get upgrade
sudo reboot
sudo apt-get install arduino
everything worked fine.
Now it did install java, the avr tools, etc...
the only think I can think of is that the installation did not complete somehow. Do what Gary said and capture your output. Are you sure you have plenty of diskspace? I did this on a 16gb card, a 2 or a 4 may be too small.
It definitely installed it in /usr/share/arduino and it created the Electronics folder in the menu and put Arduin IDE
in there.
We can solve this for you, I'm sure it is something silly.
Mike
Hi Mike and Jimmy,
I have installed the Arduino IDE five or six times on the Pi (I have two Pi's, one 256MB and one 512MB, and have upgraded Raspbian and
the SD card disks a couple of times on each) and the only thing I've had problems with recently is forgetting to update before the install.
However Jimmy, Mike's disk size question is a good one. The Arduino IDE install requires a quite a bit of disk space mainly because of
Java and the way apt-get caches packages it is installing and I'm pretty sure that it was a problem on one of my earliest install attempts
with a 2GB SD card. This was one of the main reasons for my first SD card upgrades. I definitely recommend a 4GB SD card minimum if
you plan to add any software at all to the Pi.
If you have a 4 GB or larger SD card or just prefer to skip my first two suggestions and go directly to the ouput capture go ahead. Like Mike
said I'm sure we can help you get this working.
I didn't remember having any issues when I had installed it before either. As a matter of fact tonight I did it on 2 seperate pi's and had no issues with the instructions I gave. One I did over VNC and one through ssh on the console. I've gotta believe something went wrong in the install, either ran out of disk space, or something couldnt get resolved. But the packages seemed pretty tight tonight.
We'll get him going.
Mike
Gary you are on the right track when you said to add the line about the mirrordirector. Unfortunately I could not follow the instructions. I had no idea I was that illiterate but I am. At this point anyway, but I did find aptitude package management in the GUI and I drilled down and found there are four errors that prevent electronics from loading. Mirrordirector was two of them. I also found the electronics package is indeed in the pi.If you could tell me again how to use vi. or GUI I may can get it to work. Thanks Jimmy
http://www.lagmonster.org/docs/vi.html
vi cheat sheet
i to insert
esc to finish
:wq to write and quit
pi is nice it lets you use arrow keys to move around as long as you are not in insert mode.
Have fun,
Mike
OK Jimmy, here is a more detailed version on how to use vi to add the site to sources.list
1) Start up the vi editor (make sure you have made a backup copy first as I described previously):
sudo vi /etc/apt/sources.list
2) Type i to put vi in the insert mode
3) Type in the line I gave you from the previous post. If you make a typing mistake the Backspace key can
be used to delete the previous characture(s).
4) After you have completed entering in the line make sure you press the Enter/Return key to seperate the line
you just entered from the line that was already in the file.
5) Exit the insert mode by pressing the Esc key
6) To write the file back to disk and exit the vi editor type in :wq (the : tells vi that you are about to enter a
command, wq tells it to write the file and quit.
If you run into trouble with vi and can't figure out how to fix it press the Esc key once or twice then press :q!
This will exit the vi editor without writing the file to disk so you can start over. In the worst case you can always
replace the file you have modified with the backup by typing:
sudo cp /etc/apt/sources.list.bak /etc/apt/sources.list