create new tag
, view all tags

HOW-TO prepare Ubuntu for Openairemu

The procedure described below should work for:

  • Ubuntu 10.04 LTS (The Jaunty Jackalope) Operating System, x86 version
  • Ubuntu 12.04 LTS Operating System, x86 version
  • Ubuntu 12.04 LTS Operating System, x86_64 version


In the opposition of OpenAirInterface in RF mode, Openairemu does not require to rebuild a new vanilla kernel with specific patches.
This twiki page will guide you on how to setup correctly the software environement for Openairemu.

N.B: All lines starting by "#" are bash commands that have to be typed in a shell terminal

I - UBUNTU Packages installation

On your machine, log in as ROOT user or as a user with superuser privileges.

Open a terminal and update your package repository source file (You need to be connected to Internet) :

# apt-get update 

We install all the required packages for Openairemu (This step takes around 15 minutes) :

# apt-get install subversion libblas-dev libxml2 libxml2-dev libforms-bin libforms-dev libatlas-base-dev libatlas-headers 

II - Openairemu variables settings

We use variables to declare the correct path of Openair4G. To avoid you to repeat this step everytime, open the .bashrc file in your user profile :

# gedit ~/.bashrc

At the bottom of this file, add the 4 following lines and replace the word YOUR_OPENAIR_PATH with your own Openair path:


export OPENAIR1_DIR=$OPENAIR_HOME/openair1
export OPENAIR2_DIR=$OPENAIR_HOME/openair2
export OPENAIR3_DIR=$OPENAIR_HOME/openair3

From now on, all terminals that you will open will have these variables. If you have any doubt about his, verify your Openair variables by checking the ouputs of the following command :

# echo $OPENAIR1_DIR

# echo $OPENAIR2_DIR
# echo $OPENAIR3_DIR


-- PhilippeFoubert - 14 Dec 2011

Topic revision: r5 - 10 Dec 2013 - PhilippeFoubert
Copyright 2004-2010 Institut Eurecom & all contributing authors.