Paparazzi Code

Before to get started, your computer need some tools to put in action the code. That's the reason why we made the guide for the installation of tools and prerequisites needed by Paparazzi.

Guide for Debian

Installing paparazzi is so easy if your computer has a Linux OS, so this guide is made for Debian OS, so you need install a recent Debian operating system.


The basic Paparazzi tools can be installed via a Package Manager or manually. In our case all the basic too ls are gonna be installed manually, so ​do the following steps:

Frist step we need to install summon-arm-toolchain, the summon-arm-toolchain is a script, which downloads the distribution files to build a complete toolchain for ARM development - and creates it for you, the guide to install summon-arm-toolchain is in the next link Summon-Arm-Toolchain, don't forget to export to the user PATH using bashrc and then reload the bashrc.

Second step is to download all the paparazzi dependencies, so we need to write in our terminal the next command

 apt-get install ocaml libcamlimages-ocaml liblablgtk2-ocaml-dev liblablgtk2-gl-ocaml-dev\
 liblablgtk2-gnome-ocaml-dev libxml-light-ocaml-dev libocamlnet-ocaml-dev\
 libpcre-ocaml libpcre-ocaml-dev libgnomecanvas2-0 libgnomecanvas2-dev libglade2-0\
 libglade2-dev make build-essential git-core gnuplot boa m4 libtool libftdi-dev\
 libmpfr-dev tcl8.5-dev xutils-dev tkdiff ocaml libcamlimages-ocaml liblablgtk2-ocaml-dev\
 liblablgtk2-gl-ocaml-dev liblablgtk2-gnome-ocaml-dev libxml-light-ocaml-dev\
 libocamlnet-ocaml-dev libgnomecanvas2-0 libgnomecanvas2-dev libusb-dev libpcre-ocaml\
 libpcre-ocaml-dev libglade2-0 libglade2-dev tcl8.5-dev xutils-dev make build-essential\
 libtool git-core gnuplot tkdiff libftdi-dev libmpfr-dev imagemagick tcl-dev

NOTE: if you have some troubles to install the dependencies try to use aptitude instead apt-get

Third step is to compile, tree libraries needed by paparazzi, those libraries are:

  • ivy-python
  • ivy-c
  • ivy-ocaml


We are going to create a directory, it can be located anywhere you want, in our case we are going to create this directory in the sources directory,

 mkdir local/src/ivy-python

get in that directory

 cd local/src/ivy-python 

Before copying the code we need to install subversion, subversion software versioning and revision control system is an open-source revision control system, which aims to be a compelling replacement for CVS (Concurrent Versions System).

 apt-get install subversion

copy the code

 svn co

get in trunk directory

 cd trunk 

Now we are going compile the ivy-python creating a debian package, before that we need to install one dependencie,

 apt-get install python-stdeb

Now we created the debian package and install it

 python --command-packages=stdeb.command bdist_deb
 cd deb_dist/
 sudo dpkg -i python-ivy-python_2.2-1_all.deb


We proceed the same way than the ivy-python, we will create a directory, copy the code and compile it creating a debian package (for that we need one dependencie and it's tcl8.4-dev).

 cd ~/local/src
 mkdir ivy-c
 cd ivy-c
 svn co
 cd trunk
 apt-get install tcl8.4-dev
 dpkg-buildpackage -rfakeroot -us -uc
 cd ..
 sudo dpkg -i ivy-c-dev_3.11.10_amd64.deb ivy-c_3.11.10_amd64.deb


We proceed the same way than the ivy-python and the ivy-c, we will create a directory, copy the code and compile it creating a debian package (for that we need one dependencie and it's dh-ocaml).

 cd ~/local/src
 mkdir ivy-ocaml
 cd ivy-ocaml
 svn co
 cd trunk
 sudo apt-get install dh-ocaml tk-dev
 dpkg-buildpackage -rfakeroot -us -uc
 cd ..
 sudo dpkg -i ivy-ocaml_1.2-1_amd64.deb

Now we are ready with the dependencies of paparazzi.

Final step we need the Paparazzi source code, it is hosted on Github, so you need to make a file where we are gonna put the repository,

  cd local/src/
  mkdir paparazzi

Then access the new file

  cd paparazzi

The Paparazzi code its in Github. So you can download it from or you can clone the repository with git, in our case we clone the repository, so, in the terminal, go to the new file (paparazzi) and write the next code.

  git clone

After cloning the repository, you need to launching the software,

 cd paparazzi 


  • tutorials/tutorial_for_installing_paparazzi.txt
  • Last modified: 2016/02/26 12:02
  • by