Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Ubuntu

From FlightGear wiki
Revision as of 19:02, 29 November 2012 by Flughund (Talk | contribs) (Created page with "==== 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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
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
libjpeg-dev
libungif4-dev
libtiff-dev
libxmu-dev
libxi-dev
libglut3-dev
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.