Building FlightGear - Debian: Difference between revisions

Jump to navigation Jump to search
Undo revision 55984 by I4dnf (talk) ~~~ Ubuntu != Debian --> moved it to Ubuntu
(Moved distro specific stuff from main building page here)
(Undo revision 55984 by I4dnf (talk) ~~~ Ubuntu != Debian --> moved it to Ubuntu)
Line 31: Line 31:
-->
-->


==== APT-GET List ====
This is a list of all the apt-get commands I had to do while compiling FG, SG, and OSG on a mostly clean Ubuntu 64 system. It is a list of all the libraries you and your computer needs to compile FG, SG, OSG, and PLib. All you have to do is copy the full command, paste it in Terminal, enter your password, and it will download all the packages for you, and install them too. The full command is at the bottom, and I hope someone finds it useful :) sub-dependencies (dependencies of the dependencies) are not included as they are installed automatically by apt-get. If anyone sees something missing, please add it.
git - to get SG and FG<br />
subversion - to get OSG<br />
build-essential - to build (includes GCC, and other build tools)<br />
cmake - OSG Uses this<br />
cmake-curses-gui -- OSG Uses this<br />
libpng-dev - to enable FG to use PNG textures<br />
libfreetype6-dev - fonts<br />
libjpeg-dev<br />
libungif4-dev<br />
libtiff-dev<br />
libxmu-dev<br />
libxi-dev<br />
libglut3-dev<br />
libalut-dev - sound<br />
libboost-dev - makes coding for some developers easier<br />
''automake - needed by ./autogen.sh files''<br />
''autoconf - needed by ./autogen.sh files''<br />
libfltk1.1-dev - You will need this if you will be using FGRun<br />
-----------
<pre>
sudo apt-get install git subversion build-essential cmake cmake-curses-gui libpng-dev libfreetype6-dev
libjpeg-dev libungif4-dev libtiff-dev libxmu-dev libxi-dev libglut3-dev libalut-dev
libboost-dev automake autoconf libfltk1.1-dev
</pre>
-----------
Total size is about 230 MB, depending on what you already have from other applications.
This list might seem a bit short, but the sub-dependencies all add up :) The dependencies will be listed by apt-get when you use the command.
-----------
NOTE: On a Linux Mint 9 (Ubuntu 10.04) system this is the command I used:
<pre>
sudo apt-get install git-core subversion build-essential cmake cmake-curses-gui libpng-dev libfreetype6-dev libjpeg-dev libungif4-dev
libtiff-dev libxmu-dev libxi-dev libglut3-dev libalut-dev libboost-dev ''automake autoconf'' libfltk1.1-dev libplib-dev libopenscenegraph-dev
</pre>
libopenscenegraph-dev
You just need to copy that long line into a terminal and you should have all the packages you need to compile Flightgear and Simgear.


== Build and install ==
== Build and install ==
392

edits

Navigation menu