LEPTON   Documentation Download Videos About

Installing LEPTON

LEPTON can be installed either from an archive that contains only executable code, or from an archive that contains source code.

In the following we assume you wish to install LEPTON on a Linux platform, as this is the most commonly used platform for experimentation in opportunistic networking.

Requirements

Installing from the executable archive

Download the latest LEPTON archive:

wget http://casa-irisa.univ-ubs.fr/download/lepton.zip

Unzip this archive:

unzip lepton.zip

Load LEPTON's dependencies from Maven repositories:

wget -i lepton/libs/dependencies -P lepton/libs

Set environment variable LEPTON_HOME so it points to the folder you've just created, and add a path to LEPTON's binaries in PATH:

cat << EOF >> ~/.$(basename $SHELL)rc
#
# LEPTON_HOME environment variable
export LEPTON_HOME="${PWD}/lepton"
export PATH="\${PATH}:\${LEPTON_HOME}/bin"
#
EOF
source ~/.$(basename $SHELL)rc

Installing from the source code

Download the latest LEPTON source archive:

wget http://casa-irisa.univ-ubs.fr/download/lepton-src.zip

Unzip this archive:

unzip lepton_src.zip

Compile LEPTON:

cd lepton ; make ; cd ..

Set environment variable LEPTON_HOME so it points to the folder you've just created, and add a path to LEPTON's binaries in PATH:

cat << EOF >> ~/.$(basename $SHELL)rc
#
# LEPTON_HOME environment variable
export LEPTON_HOME="${PWD}/lepton"
export PATH="${PATH}:${LEPTON_HOME}/bin"
#
EOF
source ~/.$(basename $SHELL)rc