Home · Support · Download · Hardware Designs · Projects · Pubs

TinyOS FAQ
Join/Search Mailing Lists
Documentation

TinyOS Site

WWW

 I want to search the TinyOS Mail Archives

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. 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
    1. % su root
      # rpm -i IBMJava2-SDK-1.3-10.0.i386.RPM

  2. java.comm
    TinyOS requires the java.comm libraries for Linux. You can download the RPM at
    here. Install the RPM like this:
    1. % su root
      # rpm -i IBMJava2-JAVACOMM-2.3-10.0.i386.rpm

  3. AVR Development tools
    Download the AVR tools’ RPM
    here. Install the RPM like this:
    • % su root
      # rpm -i
      --nodeps avr-devtools-1.0-1.i386.rpm

  4. TinyOS
    Download the TinyOS RPM
    here. Install the RPM like this:
    1. % su root
      # rpm -i TinyOS-0.6.1-1.i386.rpm

  5. Environment
    To complete the installation, ensure that your PATH and CLASSPATH environment variables include the following:
  6. 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.


Home | Download | Support | Publications | Hardware Designs | Related Work | Internal

This project is part of Berkeley WEBS: Wireless Embedded Systems