FFGo: Difference between revisions

Jump to navigation Jump to search
1,563 bytes added ,  15 April
→‎Linux: Document installation via download_and_compile.sh
(Replace all remaining URLs to the FG forum with uses of the 'forum link' template (also remove an extraneous square bracket left from the previous change))
(→‎Linux: Document installation via download_and_compile.sh)
Line 546: Line 546:
</li>
</li>
</ul>
</ul>
===== Using download_and_compile.sh =====
A very easy way to install FFGo on systems that have Python and the Bash shell is to use the [[Scripted_Compilation_on_Linux_Debian/Ubuntu|download_and_compile.sh script]]. This script supports an FFGO ''component'' that installs the latest FFGo release using [https://pip.pypa.io/ pip]. On Debian-based systems, unless option <code>-pn</code> is used, <tt>download_and_compile.sh</tt> will install FFGo dependencies using the distribution package manager for those that are available in Debian (no third-party repository added).
'''Sample installation session'''
First get <tt>download_and_compile.sh</tt>:
mkdir -p ~/flightgear/dnc-managed
cd ~/flightgear
{{fgmeta clone | protocol = https}}
Now use it to install FFGo under <tt>~/flightgear/dnc-managed/install/ffgo</tt> (if you pass  option <code>-pn</code> to <tt>download_and_compile.sh</tt>, <tt>sudo</tt> won't be used but you'll have to install dependencies yourself):
cd ~/flightgear/dnc-managed
~/flightgear/fgmeta/download_and_compile.sh FFGO
Start the installed FFGo program:
~/flightgear/dnc-managed/install/ffgo/bin/ffgo
Behind the scenes, this installation method uses a Python <tt>venv</tt> and <tt>pip</tt> inside the <tt>venv</tt>. Updating FFGo with this method is done like installation:
cd ~/flightgear/dnc-managed
~/flightgear/fgmeta/download_and_compile.sh FFGO
For more information on <tt>download_and_compile.sh</tt>, use <code>download_and_compile.sh --help</code> or visit [[Scripted_Compilation_on_Linux_Debian/Ubuntu]].


===== Using pip (generic method) =====
===== Using pip (generic method) =====
417

edits

Navigation menu