wiki:FawkesOnUbuntu

Version 11 (modified by tim, 6 years ago) (diff)

Removed patch, fixed in master

Fawkes on Ubuntu

Ubuntu Circle Of Friends Logo Ubuntu can be used for development and deployment of Fawkes. This document describes how to install the prerequesites - mandatory and as many optional ones as known and available out-of-the-box on Ubuntu. This allows you to get up and running quickly and easily. We describe the procedure on Ubuntu 10.04 LTS (tested in a KVM virtual machine). Newer versions will most likely work just the same or very similar. We do not support older Ubuntu versions. We primarily focus on Fedora as our development platform but feedback and contributions to improve Fawkes on Ubuntu are welcome!

Getting the Dependencies

Getting all the dependencies is as easy as

sudo apt-get install git-core g++ vim asciidoc doxygen \
libmagic-dev libssl-dev libavahi-client-dev libsqlite3-dev  libxml++2.6-2 libxml++2.6-dev \
libdaemon-dev libmicrohttpd-dev  liblua5.1-0-dev libtolua++5.1-dev \
libpng12-dev libjpeg62-dev libcv-dev libcvaux-dev libdc1394-22-dev \
libbluetooth-dev librrd-dev flite1-dev libxmlrpc-c3-dev \
robot-player-dev stage libstage2-dev libplayerc2-dev libboost-dev \
graphviz libgraphviz-dev libgl1-mesa-dev freeglut3-dev libsdl1.2-dev \
libgtkmm-2.4-dev libcairomm-1.0-dev libglademm-2.4-dev libgconfmm-2.6-dev \
libopencv-dev

Ubuntu 12.04 LTS

This is an alternate script to install fawkes 0.5 on Ubuntu

#!/bin/bash
export ARCH=`uname -i`
echo Install Fawkes at Ubuntu $ARCH 

export INSTALLDIR=/opt
export FAWKESDIR=$INSTALLDIR/fawkes
export DOC=true

echo Installing packages from apt repositories
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
sudo apt-get install git
sudo apt-get install libsqlite3-dev
sudo apt-get install libtolua++5.1-dev
sudo apt-get install libmagic-dev 
sudo apt-get install libxml++2.6-dev
sudo apt-get install libavahi-common-dev libavahi-core-dev libavahi-client-dev
sudo apt-get install libssl-dev
sudo apt-get install libjpeg-dev
sudo apt-get install libpng12-dev
sudo apt-get install flite flite1-dev libflite1 libasound2-dev
sudo apt-get install libdaemon0 libdaemon-dev
sudo apt-get install libmicrohttpd-dev libxmlrpc-c++4-dev
sudo apt-get install robot-player robot-player-dev
sudo apt-get install libgtkmm-3.0-dev libcairomm-1.0-dev graphviz-dev libgconfmm-2.6-dev libgconfmm-2.6-1c2
sudo apt-get install librrd-dev
sudo apt-get install libglu1-mesa-dev freeglut3-dev
sudo apt-get install libbluetooth-dev
 
# Full docs are not usefull for small target runtime environments
if [ "$DOC" = "true" ] ; then
	echo Install document generator
	sudo apt-get install asciidoc doxygen
fi

echo Install missing packages for $ARCH
if [ "$ARCH" = "x86_64" ] ; then
	wget -nc http://mirror1.hs-esslingen.de/ubuntu/ubuntu/pool/universe/y/yaml-cpp/libyaml-cpp0.3_0.3.0-1_amd64.deb -P /tmp
	wget -nc http://mirror1.hs-esslingen.de/ubuntu/ubuntu/pool/universe/y/yaml-cpp/libyaml-cpp-dev_0.3.0-1_amd64.deb -P /tmp
	sudo dpkg -i /tmp/libyaml-cpp0.3_0.3.0-1_amd64.deb
	sudo dpkg -i /tmp/libyaml-cpp-dev_0.3.0-1_amd64.deb
else
	wget -nc http://mirror1.hs-esslingen.de/ubuntu/ubuntu/pool/universe/y/yaml-cpp/libyaml-cpp0.3_0.3.0-1_i386.deb -P /tmp
	wget -nc http://mirror1.hs-esslingen.de/ubuntu/ubuntu/pool/universe/y/yaml-cpp/libyaml-cpp-dev_0.3.0-1_i386.deb -P /tmp
	sudo dpkg -i /tmp/libyaml-cpp0.3_0.3.0-1_i386.deb
	sudo dpkg -i /tmp/libyaml-cpp-dev_0.3.0-1_i386.deb
fi

cd $INSTALLDIR
sudo git clone http://git.fawkesrobotics.org/fawkes.git
cd $FAWKESDIR
sudo git pull
sudo make clean
sudo make all gui

if [ $? -eq "0" ] ; then
	$FAWKESDIR/bin/fawkes
fi

Build and running Fawkes

After the dependencies are installed you can continue with the Getting Started Guide on how to compile and run Fawkes.

Attachments