Fedora Packages and Compiling: Difference between revisions

Jump to navigation Jump to search
Fix typo in $PATH lines
(→‎Download_and_compile.sh: Use a wiki template for the FGMeta URL (besides, the previous link pointed to FGData...))
(Fix typo in $PATH lines)
Line 83: Line 83:
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.
  git clone --single-branch --branch release/2024.1 {{simgear source
  git clone --single-branch --branch release/2024.1 {{simgear source
  | type = git
  | type = git
  | full = 1
  | full = 1
  }} simgear
  }} simgear
  git clone --single-branch --branch release/2024.1 {{flightgear source
  git clone --single-branch --branch release/2024.1 {{flightgear source
  | type = git
  | type = git
  | full = 1
  | full = 1
  }} flightgear
  }} flightgear
  git clone --single-branch --branch release/2024.1 {{fgdata source
  git clone --single-branch --branch release/2024.1 {{fgdata source
  | type = git
  | type = git
  | full = 1
  | full = 1
  }} fgdata
  }} fgdata


==== Building 2024.1 ====
==== Building 2024.1 ====
Line 112: Line 112:
  make install
  make install
FlightGear should now be installed in the local install directory. The fgdata files are automagically found in the local fgdata directory at the same level as the source directories.
FlightGear should now be installed in the local install directory. The fgdata files are automagically found in the local fgdata directory at the same level as the source directories.
  export PATH $HOME/fg2024.1/install/bin:$PATH
  export PATH=$HOME/fg2024.1/install/bin:$PATH


===Next development version 2024.2===
===Next development version 2024.2===
Line 150: Line 150:
  make install
  make install


  export PATH $HOME/fg2024.2/install/bin:$PATH
  export PATH=$HOME/fg2024.2/install/bin:$PATH


== Various tools ==
== Various tools ==
Line 169: Line 169:
  cd $HOME/fg2024
  cd $HOME/fg2024
  git clone {{fgmeta source
  git clone {{fgmeta source
  | type = git
  | type = git
  | full = 1
  | full = 1
  }} fgmeta
  }} fgmeta
  fgmeta/download_and_compile.sh -p n FGFS
  fgmeta/download_and_compile.sh -p n FGFS
The ''-p n'' arg tells the script to NOT use ''apt'' to check, update, or fetch packages. Once the required packages are loaded from the Fedora repositories normal dnf upgrade commands will update the needed packages along with the rest of your system.
The ''-p n'' arg tells the script to NOT use ''apt'' to check, update, or fetch packages. Once the required packages are loaded from the Fedora repositories normal dnf upgrade commands will update the needed packages along with the rest of your system.
50

edits

Navigation menu