SL:Install TinyOS 2.1 in Debian (lenny)

Aus Doc-Wiki
Zur Navigation springen Zur Suche springen

Debian Lenny

To Install TinyOS 2.1 in debian lenny you can just use the ubuntu feisty deb packets.

Add the following line to /etc/apt/sources.list

 deb feisty main

Install TinyOS 2.1 and dependencies

 apt-get update
 apt-get install tinyos-2.1.0

After the installation you will find TinyOS in


Set up environment in .bashrc

 #added line below for tinyos
 export TOSROOT=/opt/tinyos-2.1.0
 export TOSDIR=$TOSROOT/tos
 export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar
 export MAKERULES=$TOSROOT/support/make/Makerules

It might be useful to use the eclipse environment and the yeti 2 plugin for TinyOS 2.x support (c.f. However, due to the fact that only eclipse 3.2 is provided in Lenny and that yeti2 does not support this old version, a new version needs to be downloaded from Just choose Eclipse Classic 3.5.1 (162 MB).

Just unpack the eclipse archive in /opt and start eclipse:

 cd /opt
 tar xfvz eclipse-SDK-3.5.1-linux-gtk.tar.gz
 cd eclipse

Here a list of commands to help you installing the yeti2 plugin:

  • Start eclipse. Select main menu Help -> Software Updates -> Find and Install
  • Select Search for new features to install and click next
  • Tick Callisto Discovery Site
  • Select Button New Remote Site and enter as name yeti2 and as location => click the OK button
  • Click the Finish button
  • Select the following items for Callisto Discovery Site: 1) Callisto Discovery Site->C and C++ Development 2) Callisto Discovery Site->Graphical Editors and Frameworks->Graphical Editing Framework
  • Select the following items for yeti2: core and opt as well as subitems env->TinyOS 2.x Base Environment and env->TinyOS 2.x on Unix
  • Click next button
  • Select Accept the terms in the license agreements and click the Next button for two times
  • Click finish button and wait until everything is downloaded. If feature verification pops up, click Install All button
  • Restart eclipse

See also