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


Jump to: navigation, search
Normalize references and amend wording
<tt>download_and_compile.sh</tt> is a [https://www.gnu.org/software/bash/ Bash] script that takes care of downloading and compiling FlightGear from the Git repositories with just one command execution<ref name="just-one-command">Due to technical problems on the [https://sourceforge.net/ SourceForge] side, this is currently only true once you have an [[FGData]] clone. See [[User:Rominet|here]] for details.</ref> for both 32-bit and 64-bit [https://www.debian.org/ Debian]-based systems (Debian, [https://www.ubuntu.com/ Ubuntu], [https://devuan.org/ Devuan], [https://www.linuxmint.com/ Linux Mint], etc.). Pre-existing installed versions (if any) of FlightGear are not touched at all since the script downloads, builds and installs everything under the directory in which it is launched. You can choose between building all or only specific tools and applications. For RedHat-based systems such as Fedora and CentOS, you may want to check out [[CentOS]].
By default, <tt>download_and_compile.sh</tt> installs most dependencies with <tt>apt-get</tt> run under <tt>sudo</tt>.<ref name="note-on-changing-how-packages-are-installed">This can be changed with options <code>--package-manager</code> and <code>--sudo</code>, or completely turned off with option <code>-pn</code> (see the output of <code>download_and_compile.sh --help</code> for the list of available options).</ref> Other dependencies, either because they aren't available in the standard APT repositories, or because it was explicitly requested using the non-option arguments of <tt>download_and_compile.sh</tt>, are downloaded and compiled on the fly (this can be the case for [[PlibPLIB]], [[Simgear]] and [[OSGOpenSceneGraph]], for instance—depending on the arguments passed to <tt>download_and_compile.sh</tt>).
For hints on using a RPM-based distribution like CentOS, please see [[CentOS]].
=== Update Available ===
The latest version of <tt>download_and_compile.sh</tt> can be obtained [https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh?format=raw here], however there are advantages getting it from an [https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/ FGMeta] clone as explained [[User:Rominet#Getting_download_and_compile.sh_the_.E2.80.9Cright_way.E2.80.9D|here]]. Contents should be moved from [[User:Rominet|there]] to this page; significant parts of what follows hasnon this page haven't been updated recently.
=== Cut to the Chase: for the impatient ===

Navigation menu