Search form


Building Thin - Linux


NOTE: The installation commands below refer specifically to Debian/Ubuntu Linux. Equivalent commands are available for other distributions of Linux.

  • Build tools and libs
sudo apt-get install build-essential libgtk2.0-dev libssl-dev xsltproc ia32-libs libxml2-dev
  • Install Python v2.6/2.7 (Python v3.0 is not compatible and will cause errors)
sudo apt-get install python
  • Installl SCons v2.0.
sudo apt-get install scons
  • Get AllJoyn™ source
    • Download the source zip and extract Core source into $AJ_ROOT/core/ajtcl/ and Base Services source into $AJ_ROOT/services/base_tcl/
    • Alternatively, use git:
      $ cd $AJ_ROOT
      $ mkdir core/
      $ cd core
      $ git clone 
      $ cd $AJ_ROOT
      $ mkdir services/
      $ cd services
      $ git clone


Building Core:

$ cd $AJ_ROOT/core/ajtcl/
$ scons WS=off

Binaries for samples are located at $AJ_ROOT/core/ajtcl/dist/bin/

Building Base Services:

$ cd $AJ_ROOT/services/base_tcl/
$ scons WS=off

Binaries for service samples are located at $AJ_ROOT/services/base_tcl/dist/bin/

Add the AllJoyn framework to an application

See the Build an Application using the Thin Library section for instructions.

For future news and updates, please follow or visit
1 year 1 week ago