LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2011, 01:12 PM   #1
pierssnell
Member
 
Registered: Sep 2011
Location: UK
Distribution: Puppy 571 + Mint 18.2
Posts: 43

Rep: Reputation: Disabled
Howto find installation directory for FlightGear -- can't be too hard, surely?


Just installed FlightGear via Synaptic in Ubuntu 11.04.

Program seems to start up ok, takes quite a while to load scenery files and that sort of stuff, and then sits there sulking; I'm sure that's only because it's not fully installed...

FlightGear manual tells me that to complete my setup, I need to (among other things) set some environment variables, for example to point at the "data" directory where things like aircraft type and scenery are stored.

Apparently, the FlightGear/data directory, for example, is to be expected at /usr/local/share/ (or presumably some comparable location) -- in other words, wherever I chose to install it.

Trouble is, I didn't install it, Synaptic did, and I just can't find the installation. Having done "Search for files..." and ls as thoroughly as I can. Am I being really stupid? (Don't answer that!)

Hope someone can help!

The following extract from the manual would make sense to me, if only I could find the FlightGear directory!

>Before you can run FlightGear, you need to set a couple of environment variables:
>
> You must add /usr/local/share/FlightGear/lib to your LD_LIBRARY_PATH
> FG_ROOT must be set to the data directory of your FlightGear installation. >e.g. /usr/local/share/FlightGear/data.
> FG_SCENERY should be a list of scenery directories, separated by ”:”. This >works like PATH when searching for scenery.
>
> e.g. $FG_ROOT/Scenery:$FG_ROOT/WorldScenery.
 
Old 10-28-2011, 05:09 PM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Is it /usr/local/share/FlightGear/ ?

If not, try:
Code:
# updatedb && locate *FlightGear*
 
Old 10-28-2011, 05:46 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,512

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ubuntu 11.04, Package: flightgear
http://packages.ubuntu.com/natty/flightgear
File list http://packages.ubuntu.com/natty/i38...tgear/filelist


Data are in "Recommended packages"
1) fgfs-aircraft-base
http://packages.ubuntu.com/natty/all...-base/filelist
/usr/share/games/FlightGear/Aircraft/*

2) fgfs-models-base
http://packages.ubuntu.com/natty/all...-base/filelist
/usr/share/games/FlightGear/Models/*


And : Listing files for an installed package with 'dpkg' :
$ dpkg -L <package-name>

.

Last edited by knudfl; 10-28-2011 at 05:50 PM.
 
Old 10-28-2011, 06:32 PM   #4
pierssnell
Member
 
Registered: Sep 2011
Location: UK
Distribution: Puppy 571 + Mint 18.2
Posts: 43

Original Poster
Rep: Reputation: Disabled
Thanks folks,

I believe I've taken a step forward; at least I can find the directory now, it is indeed in /usr/share/games

Not sure if it was there before, but it's there now. I did a "Reinstall" in Synaptic, so that part of the problem is solved. Now I need to do battle with the environment variables and command-line options, and tomorrow seems like a better idea...

Thanks again!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Out Of Range video, surely this isn't supposed to be this hard! jckelsey Red Hat 2 03-18-2008 09:39 AM
flightgear debian can't find the program sycamorex Linux - Games 4 08-15-2007 12:10 PM
Installation can't find my hard disk lloyd_dm Linux - Software 3 06-08-2006 01:16 AM
Where can I find suse 10.0 rpm for flightgear sirius57 SUSE / openSUSE 3 05-30-2006 07:49 PM
ungzipping/untarring to another directory? Surely! hamster Linux - Newbie 4 05-22-2003 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration