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
subversion - to get OSG
build-essential - to build (includes GCC, and other build tools)
cmake - OSG Uses this
cmake-curses-gui -- OSG Uses this
libpng-dev - to enable FG to use PNG textures
libfreetype6-dev - fonts
libalut-dev - sound
libboost-dev - makes coding for some developers easier
automake - needed by ./autogen.sh files
autoconf - needed by ./autogen.sh files
libfltk1.1-dev - You will need this if you will be using FGRun
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
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:
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
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.