User:Rominet: Difference between revisions

Jump to navigation Jump to search
Precisions (disk space...)
(Use templates or wiki-links when referencing repositories of the FG project)
(Precisions (disk space...))
Line 97: Line 97:
Of course, it's always possible to make commands shorter by setting up aliases (see tips at the end of [https://sourceforge.net/p/flightgear/mailman/message/36634426/ this message]) or by adding the directory containing the program to your <tt>PATH</tt>. But in the specific case of <tt>download_and_compile.sh</tt>, since it should most of the times be be run from the same directory (noted ''$dir'' in this document, see below), adding it to the <tt>PATH</tt> is not really advised.
Of course, it's always possible to make commands shorter by setting up aliases (see tips at the end of [https://sourceforge.net/p/flightgear/mailman/message/36634426/ this message]) or by adding the directory containing the program to your <tt>PATH</tt>. But in the specific case of <tt>download_and_compile.sh</tt>, since it should most of the times be be run from the same directory (noted ''$dir'' in this document, see below), adding it to the <tt>PATH</tt> is not really advised.


{{Note|The following commands should be run from an empty<ref name="dedicated-directory-won-t-stay-empty-forever">Well, empty before the first time, but later <tt>download_and_compile.sh</tt> is going to populate it with plenty of FlightGear files and subdirectories, of course.</ref> directory in a partition that has enough free space for FGData (it currently takes 4.6 gigabytes (GB) and you'll also need several more to download the FlightGear sources and build them). The usual message printed by <tt>download_and_compile.sh</tt> recommends 12 or more gigabytes. We'll call the chosen directory ''$dir'' (for instance, you could choose <tt>~/flightgear/dnc-managed</tt>).
{{Note|The following commands should be run from an empty<ref name="dedicated-directory-won-t-stay-empty-forever">Well, empty before the first time, but later <tt>download_and_compile.sh</tt> is going to populate it with plenty of FlightGear files and subdirectories, of course.</ref> directory in a partition that has enough free space ([[FGData]] currently takes about 5 [https://en.wikipedia.org/wiki/Gibibyte GiB] and you'll need several more gibibytes to download the [[SimGear]] plus FlightGear sources, and build them. As of April 2019, a complete build including SimGear, FlightGear and FGData requires approximately 12 GiB of disk space). <b>We'll call the chosen directory ''$dir''</b> (for instance, you could choose <tt>~/flightgear/dnc-managed</tt> to express that the whole directory tree is managed by <tt>download_and_compile.sh</tt>).


'''Don't run the commands from a non-dedicated directory,''' because it will be filled with files and directories created by <tt>download_and_compile.sh</tt> and the FlightGear, SimGear, etc. build systems. That would be a complete mess! In particular, ''don't'' run the commands from the directory containing your [[FGMeta]] clone.}}
'''Don't run the commands from a non-dedicated directory,''' because it will be filled with files and directories created by <tt>download_and_compile.sh</tt> and the FlightGear, SimGear, etc. build systems. That would be a complete mess! In particular, ''don't'' run the commands from the directory containing your [[FGMeta]] clone.}}
377

edits

Navigation menu