The Debian dependencies are almost(?) the same as the Ubuntu dependencies (as Ubuntu is based on Debian). Maybe we should merge this page with Debian dependencies?
These are the packages that must be installed to build and run Navit on Ubuntu.
- These are not all packages that you need, only the packages that must be installed, i.e. that are not part of the default (desktop) install. If you removed packages after installation, you may have to re-install them.
- The list applies to Ubuntu 12.04 LTS (Precise Pangolin). It should be similar for other versions, but if not, please edit this page to correct.
- This list is for the CMake build. The build via autotools requires some more packages, but is no longer supported.
- g++ (not really required, but installing it avoids Navit bug 1041).
Note: Not all these packages are strictly required (for example, maptool can be built without installing GTK+), but this is the smallest practical set of packages if you want to run Navit.
Translated text in the user interface
Ubuntu source package dependencies
These are the dependencies for compiling Navit with all features. You may not need all of the packages mentioned there, but they can be useful if you experience problems just following the above instructions.
Older Ubuntu versions (will probably not work with current Navit versions):
Everything in one command
sudo apt-get install cmake zlib1g-dev libpng12-dev libgtk2.0-dev librsvg2-bin \ g++ gpsd gpsd-clients libgps-dev libdbus-glib-1-dev freeglut3-dev libxft-dev \ libglib2.0-dev libfreeimage-dev gettext