Downloading the package

The first thing you have to do is go to the Arduino site's download section at http://Arduino.cc/en/Main/Software and choose the right package for your operating system and the software branch that best suits your board.

At the time of writing this, there are two different branches. I'll recommend that you use the Arduino 1.0.X stable branch unless you are going to work with Arduino Yún or Due; in that case, you'll have to choose the 1.5.X branch that, at the time of writing this, is a beta version and, therefore, could be a little unstable or could lead to some errors. However, I have to say that I have been working for more than a year with the 1.5.X branch to program both Arduino Uno and Arduino Yún, and I haven't seen any bugs.

On the Arduino site, you will find precompiled packages for Mac OS X, Windows, and Linux and even a source code package.

Let's take a closer look at each of the supported operating systems.

Windows

For Windows, there are two different precompiled packages: one prepared for the Windows Installer and another that consists only of a ZIP package that you have to uncompress by yourself.

The Windows Installer option is recommended in order to allow multiple users in your computer to access the software, but you need administrator privileges to install it system-wide.

If you don't have an administrative account, you can download the ZIP compressed package and simply uncompress it in any folder where you have permission to do so, such as your own desktop.

Mac OS X

For Mac OS X, there is little to consider. There is just one package so that you have nothing to choose from. Just download your package and go to the next section to see how to install it.

Linux

For Linux, the only consideration to have in mind is the architecture of your computer so that you have to choose between the 32- and 64-bit precompiled packages.

In both cases, the package provided in the Arduino site consists only of a compressed TGZ file that you have to uncompress by yourself.

Source code

If you use a different operating system, there is even a source code package that allows you to compile the Arduino development environment on your own.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset