Guilhem BONNEFILLE Rob Norris Christoph Eckert Jocelyn

Downloading the source code

Releases can be found on SourceForge, and are packaged in a tar.gz package. Direct link is:

There is a Git repository, which contains the latest version of Viking. To download it, just launch:

git clone git://

If you were following the old Sourceforge repository location you'll need to point it to the new one above, such as via this command:

git remote set-url origin git://

Commit History

You can also view the code online. Use the History feature on that page to see the code commit logs.

Individual commits referenced by an SHA Id can be found by entering the SHA in the URL like this:<SHA>

Bugs + Features Lists

Search the appropriate tracker list with the SourceForge#ID will find the ticket from the old reference.

Previously SourceForge used to auto redirect these old URLs to the new IDs, but at the time of writing this no longer works:<SourceForge#ID>

Core Developer Repositories

Potential future code and other on going works can be found here:


The following libraries are necessary to compile Viking 1.6:

  • gtk+ version 2.16 at least
  • glib version 2.26 at least
  • libcurl
  • libexpat

Default libraries (but can be optionally disabled):

  • libbz2
  • libmagic
  • libsqlite3
  • libmapnik
  • libgps
  • libgexiv2

Required programs:

  • gettext
  • autoconf
  • automake

Viking can be compiled with gcc or clang.


  • C++ compiler e.g. g++ - when building with libmapnik (the default).
  • docbook, xlstproc and scrollkeeper: for man pages & help page generation


On Debian/Ubuntu, the source package already contains all the necessary dependencies. If you don't want to install it, the following command will install them:

apt-get install gnome-common libcurl4-gnutls-dev libexpat1-dev libgtk2.0-dev libglib2.0-dev libgps-dev libbz2-dev libmagic-dev libmapnik2-dev libgexiv2-dev gnome-doc-utils docbook-xsl docbook-xml

As of 2011-03-27, for the current git master (release 1.2 onwards) Viking also needs gtk-doc utilities to compile when using the method:

apt-get install gtk-doc-tools scrollkeeper


For openSUSE you will need to install these packages:

gnome-common gnome-utils-devel libcurl-devel libexpat-devel gtk2-devel gpsd-devel libgevix2-devel libbz2-devel libmagic-devel libmapnik2-devel


Windows requires much more manual work to set up a build environment and the necessary dependencies. This is documented in this separate section Windows Build Instructions.

Mac OS

Viking is supported via Mac Ports.

Some extra notes on setting up the environment for Mac OS see here MacOS Builds.

Then follow the standard compiling instructions below.


Builds can be performed without libgps, libmapnik or other features via running ./ with the appropriate --disable-FEATURE argument. To see the available options:

./ -h

Optional but recommended run-time programs:

  • gpsbabel
  • gpsd
  • unbuffer (Used if available - in git code dated 2011-09-11 onwards - for Debian this is in the package expect-dev)


If you took the source code from a .tar.gz package, please execute the following commands:

tar -xzvf viking-x.y.z.tar.gz
cd viking
sudo make install   # if you want to install in /usr/local - need to have root permissions to install

If you took the source from git, you will have to execute before ./configure:


If you want a fast build using all the available CPUs of your computer, then this command should make it so:

make -j


Main Wiki: Contribute
Main Wiki: Development
Main Wiki: Download
Main Wiki: MacOSBuilds
Main Wiki: Main_Page
Main Wiki: WindowsBuildInstructions

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks