This tutorial was made for those who'd like to run FG Git on Arch.
Note: Since Arch is aimed at advanced Linux users, so is this tutorial.
I tested this method with a fresh-install of Arch + kdebase + kdebase-workspace + kdemultimedia-kmix". You shouldn't have problems with other Desktop Environments.
Method one: Using the Default script from Debian/Ubuntu
1. If you don't have the package "base-devel" yet, please do install it.
2- After that, the following packages are required:
openscenegraph git fltk plib cmake svn lib32-openal cvs freealut libpng scons python-imaging freeglut abs gettext boost libpng12 openexr ogre
You can install them with:
- Code: Select all
sudo pacman -S openscenegraph git fltk plib cmake svn lib32-openal cvs freealut libpng scons python-imaging freeglut abs gettext boost libpng12 openexr ogre
3. Now, download the script to a folder of your choice. Mine is /home/junior/Documents/Games/FlightGear/Game/compile.sh
4. Enable it to be executable
- Code: Select all
$ chmod +x script.sh
5. Now let's install the game:
- Code: Select all
$ ./script.sh -a n -p n -j x SIMGEAR
Note: Change the value of "-j x" to the number of cores you want to use to build. I have 2 cores, so I use "-j 2".
- Code: Select all
$ ./script.sh -a n -p n -j x FGFS
- Code: Select all
$ ./script.sh -a n -p n -j x DATA
- Code: Select all
$ ./script.sh -a n -p n -j x FGRUN
Note: Building DATA will download at least 14 GB of data. It's a good idea to leave it overnight.
Note 2: On FGRun, you might get the following error when launching the game
Scenery needs a parameter
To fix it, simply hit "Prev" (on FGRun) till you get to the first page. Delete the current scenery path and change to
/home/your_user/path_to_compiling_folder/install/fgfs/fgdata/Scenery
Note 3: Your autostart file will NOT be saved at the desired compiling folder. It will still remain at /home/your-user/.fgfs
You should be now ready to fly.
Method 2: Using an altered Script to Arch
Alternatively, you can download Brisa's script with my edits to fit Arch install. You can download it here: http://pastebin.com/n4gmmgZt
To review the changes I made you can use a Text comparing tool. I use this: http://text-compare.com/
Installing:
2. Install the "base-devel" package if not yet installed;
3. Now, download the script to a folder of your choice. Mine is /home/junior/Documents/Games/FlightGear/Game/compile.sh
4. Enable it to be executable
- Code: Select all
$ chmod +x script.sh
5. Now let's install the game:
- Code: Select all
$ ./script.sh -j x SIMGEAR
When prompted to type your root password, please do it so the required packages can be installed. The same to the other builds (fgrun, fgfs and data)
- Code: Select all
$ ./script.sh -j x FGFS
- Code: Select all
$ ./script.sh -j x DATA
- Code: Select all
$ ./script.sh -j x FGRUN