<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
- <title>Installing TinyOS 2.0</title>
+ <title>Installing TinyOS 2.0.2</title>
<link href="../stylesheets/tutorial.css" rel="stylesheet" type="text/css">
</head>
<body>
-<div class="title">Installing TinyOS 2.0</div>
-<div class="subtitle">Last updated 8 April 2007</div>
+<div class="title">Installing TinyOS 2.0.2</div>
+<div class="subtitle">Last updated 30 July 2007</div>
<p>If you already have a 1.x tree or an existing 2.x tree, you are better off
following the <i>upgrade</i> instructions at
<h1>One-step Install with a Live CD</h1>
<p><A
- HREF="http://toilers.mines.edu/Public/XubunTOS/">Download a
- Linux live CD that has a TinyOS installation on it</A>. All you
+ HREF="http://toilers.mines.edu/Public/XubunTOS">Download a
+ Linux live CD that has a TinyOS installation on it</A>.
+ All you
need to do is download the CD image, burn it onto a CD, and
install from there. This saves you all of the complexities of
installation, and it's the recommended way to install
provided by the Toilers group at the Colorado School of
Mines.</p>
- <h1>Installing on your host operating system</h1>
+ <h1>Two-step install on your host OS with Debian packages</h1>
+
+ <p>If you are running a version of Linux that supports Debian packages, then
+ you may want to use the TinyOS package repository. There is a <A HREF="http://www.tinyos.net/scoop/story/2007/3/1/142950/4912">story on www.tinyos.net</A>
+ that describes how to use it. If you do this, then you do not have to
+ install the instructions here, except that you will need to check
+ that your environment is set up correctly (the end of step 5 in
+ the manual installation.</p>
+
+ <h1>Manual installation on your host OS with RPMs</h1>
<p>Currently, the TinyOS Core Working Group supports TinyOS on two platforms: Cygwin (Windows)
and Linux. There have been some <A HREF="">successful efforts</A> to getting TinyOS environments working
on Mac OSX, but OSX is not supported by the Core WG.</p>
-
+
+
<p>Installing a TinyOS enviromnent has five basic steps; Windows requires an extra step,
installing Cygwin, which is a UNIX-like environment. The steps are:</p>
causes an error that the RPM was built for Cygwin,
add the <code>--ignoreos</code> option.
+Finally, there are two Linux versions of tinyos-tools, depending
+on whether you have a 32-bit or 64-bit machine. The first is the
+i386 RPM and the second is the i686 RPM. If you have a 64-bit
+Java VM, it is important that you install the i686 RPM or otherwise
+the Java support may not work properly.
+
<!----- tinyos-2.x/tinyos rpms -------->
</p><p><b><em>TinyOS-specific Tools</em></b>
<table border="0">
<td><a href=""></a><code>rpm -Uvh</code><br>
<code>rpm -Uvh --ignoreos</code> (if Cygwin complains)</td>
</tr>
-
+<tr></tr>
+<tr>
+ <td bgcolor="#dddddd"><b>Tool</b></td>
+ <td bgcolor="#dddddd"><b>Windows/Cygwin</b></td>
+ <td bgcolor="#dddddd"><b>32-bit Linux</b></td>
+ <td bgcolor="#dddddd"><b>64-bit Linux</b></td>
+ <td bgcolor="#dddddd"><b>Command</b></td>
+</tr>
<tr>
- <td bgcolor="#dddddd">tinyos-tools</td>
- <td bgcolor="#dddddd"><a href="http://www.tinyos.net/dist-2.0.0/tinyos/windows/tinyos-tools-1.2.3-1.cygwin.i386.rpm">tinyos-tools-1.2.3-1.cygwin.i386.rpm</a></td>
- <td bgcolor="#dddddd"><a href="http://www.tinyos.net/dist-2.0.0/tinyos/windows/tinyos-tools-1.2.3-1.cygwin.i386.rpm">tinyos-tools-1.2.3-1.cygwin.i386.rpm</a></td>
- <td bgcolor="#dddddd"><a href="http://www.tinyos.net/dist-2.0.0/tinyos/linux/tinyos-tools-1.2.3-1.i386.rpm">tinyos-tools-1.2.3-1.i386.rpm</a></td>
- <td bgcolor="#dddddd"><a href=""></a><code>rpm -ivh --force</code> (1.x tree)<br><code>rpm -Uvh</code> (no 1.x tree)<br></td>
+ <td>tinyos-tools</td>
+ <td><a href="http://www.tinyos.net/dist-2.0.0/tinyos/windows/tinyos-tools-1.2.4-2.cygwin.i386.rpm">tinyos-tools-1.2.4-2.cygwin.i386.rpm</a></td>
+ <td><a href="http://www.tinyos.net/dist-2.0.0/tinyos/linux/tinyos-tools-1.2.4-2.i386.rpm">tinyos-tools-1.2.4-2.i386.rpm</a></td>
+ <td><a href="http://www.tinyos.net/dist-2.0.0/tinyos/linux/tinyos-tools-1.2.4-2.i686.rpm">tinyos-tools-1.2.4-2.i686.rpm</a></td>
+ <td><a href=""></a><code>rpm -ivh --force</code> (1.x tree)<br><code>rpm -Uvh</code> (no 1.x tree)<br></td>
</tr>
</tbody></table>
<tr>
<td>TinyOS</td>
- <td><a href="http://www.tinyos.net/dist-2.0.0/tinyos/windows/tinyos-2.0.0-3.cygwin.noarch.rpm">tinyos-2.0.0-3.cygwin.noarch.rpm</a></td>
- <td><a href="http://www.tinyos.net/dist-2.0.0/tinyos/linux/tinyos-2.0.0-3.noarch.rpm">tinyos-2.0.0-3.noarch.rpm</a></td>
+ <td><a href="http://www.tinyos.net/dist-2.0.0/tinyos/windows/tinyos-2.0.2-2.cygwin.noarch.rpm">tinyos-2.0.2-2.cygwin.noarch.rpm</a></td>
+ <td><a href="http://www.tinyos.net/dist-2.0.0/tinyos/linux/tinyos-2.0.2-2.noarch.rpm">tinyos-2.0.2-2.noarch.rpm</a></td>
</tr>
</tbody></table>