|
Linux Download and Installation
TinyOS Release 0.6.1 RPM TinyOS-0.6.1-1 May 10, 2002
The Linux version of TinyOS is installed using an RPM. The following are the steps to take to download and install the RPM.
- 1.3 JDK
TinyOS recommends the 1.3 Java JDK from IBM. If you already have a 1.3 JDK installed, please modify the rest of the instructions
accordingly. If you don’t already have a 1.3 JDK, you can download an RPM for the recommended version at here. Install the RPM like this
% su root # rpm -i IBMJava2-SDK-1.3-10.0.i386.RPM
- java.comm
TinyOS requires the java.comm libraries for Linux. You can download the RPM at here. Install the RPM like this:
% su root # rpm -i IBMJava2-JAVACOMM-2.3-10.0.i386.rpm
- AVR Development tools
Download the AVR tools’ RPM here. Install the RPM like this:
- TinyOS
Download the TinyOS RPM here. Install the RPM like this:
% su root # rpm -i TinyOS-0.6.1-1.i386.rpm
- Environment
To complete the installation, ensure that your PATH and CLASSPATH environment variables include the following:
a. CLASSPATH Add the following to your CLASSPATH environment variable: /opt/IBMJava2-13/lib:/opt/IBMJava2-13/jre/lib:.
b. PATH Add the following to your PATH environment variable: /opt/IBMJava2-13/bin:/opt/avrgcc/bin
At this point, you’re ready to compile your first TinyOS program. Note that the TinyOS source is installed into /usr/local/src/nest; you
can move it to a more convenient place if you wish. We recommend starting at Lesson 0 of the tutorial to confirm that your setup is correct, and proceeding from there. Please see the support page for more information.
|