Difference between revisions of "Ubuntu dependencies"

From Navit's Wiki
Jump to: navigation, search
(Absolute minimum requirements)
 
(24 intermediate revisions by 13 users not shown)
Line 1: Line 1:
== Absolute minimum requirements ==
+
{{warning|1='''This is a page has been migrated to readthedocs:'''https://github.com/navit-gps/navit/pull/880 . It is only kept here for archiving purposes.}}
* build-essential (this will install various build tools as dependencies)
+
 
* pkg-config
+
{{merge|Debian dependencies}}
* automake
+
 
* libglib2.0-dev (or libsdl1.2-dev?)
+
= Packages required for building and running Navit on Ubuntu =
* libtiff-dev
+
These are the packages that must be installed to build and run Navit on Ubuntu.
* libtool
+
 
* libxmu-dev
+
Notes:
* libfribidi-dev
+
* 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.
 +
 
 +
== Minimum requirements ==
 +
* cmake
 +
* protobuf-c-compiler
 +
* libprotobuf-c-dev
 +
* zlib1g-dev
 +
* libpng12-dev
 +
* libgtk2.0-dev
 +
* librsvg2-bin
 +
* g++ (not really required, but installing it avoids [http://trac.navit-project.org/ticket/1041 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.
 +
 
 +
==Optionals==
 +
===Translated text in the user interface===
 
* gettext
 
* gettext
* zlib1g-dev
 
* cvs (yes, ''really''! You need it even if navit switched to SVN)
 
* libdbus-glib-1-dev (for dbus bindings)
 
  
=Optionals=
+
===GPS support===
 
* gpsd
 
* gpsd
 
* gpsd-clients
 
* gpsd-clients
* libgps-dev (required for building GPSD support into navit)
+
* libgps-dev
  
=GTK Gui (needed by default)=
+
===DBus===
* libgtk2.0-dev
+
libdbus-glib-1-dev
 +
 
 +
===GTK drawing area graphics===
 +
libimlib2-dev (needed to enable draw_image_warp function which, in turn allows to use raster maps as discussed in [http://trac.navit-project.org/ticket/1285 #1285])
  
=OpenGL Gui (needed by default?)=
+
===OpenGL graphics===
 
* freeglut3-dev
 
* freeglut3-dev
* glutg3-dev
+
* libxft-dev
* libcegui-mk2-dev
+
* libglib2.0-dev
* libdevil-dev
+
* libfreeimage-dev
* libglc-dev
+
 
* libpcre3-dev libmng-dev libfreeimage-dev (ND)
+
= 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.
 +
 
 +
* [https://launchpad.net/ubuntu/precise/+source/navit 12.04 (Precise)]
 +
 
 +
Older Ubuntu versions (will probably not work with current Navit versions):
 +
 
 +
* [https://launchpad.net/ubuntu/natty/+source/navit 11.04 (Natty)]
 +
* [https://launchpad.net/ubuntu/maverick/+source/navit 10.10 (Maverick)]
 +
* [https://launchpad.net/ubuntu/lucid/+source/navit 10.04 (Lucid)]
 +
 
 +
=Everything in one command=
  
Note: (ND) = not detected by ./configure script, the error pops up during make
+
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 protobuf-c-compiler  libprotobuf-c-dev

Latest revision as of 04:44, 22 September 2019

Packages required for building and running Navit on Ubuntu[edit]

These are the packages that must be installed to build and run Navit on Ubuntu.

Notes:

  • 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.

Minimum requirements[edit]

  • cmake
  • protobuf-c-compiler
  • libprotobuf-c-dev
  • zlib1g-dev
  • libpng12-dev
  • libgtk2.0-dev
  • librsvg2-bin
  • 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.

Optionals[edit]

Translated text in the user interface[edit]

  • gettext

GPS support[edit]

  • gpsd
  • gpsd-clients
  • libgps-dev

DBus[edit]

libdbus-glib-1-dev

GTK drawing area graphics[edit]

libimlib2-dev (needed to enable draw_image_warp function which, in turn allows to use raster maps as discussed in #1285)

OpenGL graphics[edit]

  • freeglut3-dev
  • libxft-dev
  • libglib2.0-dev
  • libfreeimage-dev

Ubuntu source package dependencies[edit]

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[edit]

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 protobuf-c-compiler  libprotobuf-c-dev