четверг, 7 февраля 2013 г.

как установит arduino на убунту

Once its restarted we'll check the Arduino and cable are OK. First off, unplug the Arduino and run a Terminal screen (Applications, Accessories, Terminal)

and restart the computer (OK, it says Shutdown, but you get the idea)

All done, you can close down Synaptic Package Manager

When its done, Click close (it took a couple of minutes to install on this junk heap)

It then downloads everything from the internet :

When it's marked avr-libc, Click on Apply

One more time : Enter 'avr-libc'

and let it bring in what it wants and 'Mark'

You know the routine : Mark gcc-avr

Enter 'gcc-avr' into the quick search box

It wants to bring in a lot of other stuff - let it and Click 'Mark'

Click in it's 'Radio button' box and Mark for Installation

Enter 'jre' in the quick search box and find Openjdk-6-jre(Java Runtime Environment)

Put the password in when it asks and it gets to here :

Fire Up Synaptic Package Manager (System,Administration, Synaptic Package Manager)

On with the plot. Ubuntu 10.10 :

This works on a new install, it may not if it has a lot of stuff already added to it,especially if you've been messing around with the repository version or trying to do installs involving root (sudo). The same procedure (looks slightly different obviously) also works on Ubuntu 10.04 and should also work on 9.04 and 9.10. The nearest this install gets to root is authenticating Synaptic Package Manager. It installs JRE,gcc-avr and avr-libc from the Ubuntu repositories, but Arduino itself comes from the official Arduino site. There are no problems downloading earlier versions of the IDE leaving the rest as is and you can run any of the installed versions. I currently have all versions from 0018 to 1.0.1 on my working machine and can run any at will. With a bit of lateral thinking, this same basic process will work on Ubuntu 12.04, using the Ubuntu software centre instead of Synaptic, creating an icon to run it from can be problematical, but it can be done with a bit of googling. I also needed to add my user to the dialout group to get it to recognise the Arduino ports in the IDE. If you added the addons during install, you'll find Java is already installed

Big on Pictures, low on words, apologies to those without a decent internet connection. This is a blow by blow walkthrough on installing the latest official Arduino IDE on Ubuntu 10.10. Do not use the one in the repositories especially if you have a later Arduino (Uno or Mega2560) as its out of date and does not work with these later boards. This is a newly installed,all default options, fully updated Ubuntu 10.10 32bit running on a 10 year old heap of junk. (650 Mhz AMD Duron, 256Mb of Ram, 20Gb HDD) It ran Windows XP like a slug on Valium, its not exactly greased lightning running Ubuntu but it borders on usable. Since I first produced this, I have confirmed that the same process works for 64 bit Ubuntu 10.10 with the 64 bit Linux Arduino IDEs

Complete Numpties Guide to Arduino on Ubuntu 32 & 64 bit

Complete Numpties Guide to Arduino on Ubuntu 32 & 64 bit

Комментариев нет:

Отправить комментарий