« Previous - Version 6/17 (diff) - Next » - Current version
coder, 16/02/2014 11:50


Installing from Source Under Ubuntu

This page explains how to install the libavg developer version from subversion on an Ubuntu machine. If you run into any issues, have a look at Known Linux Installation Issues.

Prerequisite Packages

Start with the installation of all needed packages:

$ sudo apt-get install subversion automake autoconf libtool libxml2-dev \
libpango1.0-dev librsvg2-dev libgdk-pixbuf2.0-dev libavcodec-dev libavformat-dev \
libswscale-dev python-dev libboost-python-dev libboost-thread-dev g++ libSDL-dev \
libxxf86vm-dev libdc1394-22-dev linux-libc-dev libvdpau-dev

To support native linux Multitouch devices, you also need to install libxi-dev.

Checkout and Configure

Check the code out from subversion:

$ svn co https://www.libavg.de/svn/trunk/libavg

Accept the certificate with a 'p' and wait for the checkout to complete.

Alternatively, you can download the release tarball from the download page. In that case, you can skip the bootstrap step and just run configure.

Afterward, type:

$ cd libavg
$ ./bootstrap

to get an automated generation of configure.

Run configure (providing optional parameters like --prefix):

$ ./configure

Compilation and Installation

Start compilation with:

$ make

Then do a make install to get libavg installed in the PREFIX path, which is, by default /usr/local:

$ sudo make install

Test

libavg provides some tests which can be used to check if everything works:

$ make check

Report any test failures in the forums :-).