50
edits
m (→Use .tar files) |
m (/* move fgdata to its default location.) |
||
| Line 64: | Line 64: | ||
mkdir $HOME/fg2024.1 | mkdir $HOME/fg2024.1 | ||
mkdir $HOME/.fgfs | mkdir $HOME/.fgfs | ||
Two methods exist to get the required source code. Tar archives or the FlightGear git repository. | Two methods exist to get the required source code. Tar archives or the FlightGear git repository. | ||
| Line 85: | Line 84: | ||
For 2024.1, we clone a single branch of the repository to have a similar configuration as with the tar files. | For 2024.1, we clone a single branch of the repository to have a similar configuration as with the tar files. | ||
cd $HOME/fg2024.1 | |||
{{simgear clone | opt = --single-branch --branch release/2024.1 | post = simgear}} | {{simgear clone | opt = --single-branch --branch release/2024.1 | post = simgear}} | ||
{{flightgear clone | opt = --single-branch --branch release/2024.1 | post = flightgear}} | {{flightgear clone | opt = --single-branch --branch release/2024.1 | post = flightgear}} | ||
{{fgdata clone | opt = --single-branch --branch release/2024.1 | post = | cd $HOME/.fgfs | ||
{{fgdata clone | opt = --single-branch --branch release/2024.1 | post = fgdata_2024_1}} | |||
==== Building 2024.1 ==== | ==== Building 2024.1 ==== | ||
| Line 105: | Line 106: | ||
make -j$(nproc) | make -j$(nproc) | ||
make install | make install | ||
FlightGear should now be installed in the local install directory. The fgdata files are | FlightGear should now be installed in the local install directory. The fgdata files are found by default in the local .fgfs directory in your $HOME. | ||
export PATH=$HOME/fg2024.1/install/bin:$PATH | export PATH=$HOME/fg2024.1/install/bin:$PATH | ||
edits