Matevz Jekovec wrote:
> [EMAIL PROTECTED] wrote:
> >I like that idea.
> >
> >
> >I have also a question:
> >Why do we use /usr/local/Flightgear as directory and not
> >/usr/local/games/Flightgear ?
> >
> >I would prefer /usr/local/games/Flightgear for everything,
> >the scenery, the game data and the runtime binary including with a
> > symbolic link in the /usr/local/bin directory to this binary.
> >
> >Best Regards,
> > Oliver C.
>
> I've seen some Linux distros not having /usr/*local*/bin in their path.
> (only /bin and /usr/bin for ordanary user). What is the main difference
> between /usr/local/something and /usr/something anyway?

The difference is that /usr/* is only for the distributions itself.
/usr/local/* and /opt are for 3rd party programmes added by the user.

For example, when flightgear gets shipped with your distribution the right 
path should be somewhere in /usr.
If you install it on your own it should be in /usr/local/ or /opt/

For more informations take a look at the File hierarchy Standard document
(it's very good document higly recommened to read)
http://www.pathname.com/fhs/


>From the FHS document:
-------------------------------------------------------------------------------------------------------
"4.9 /usr/local : Local hierarchy

4.9.1 Purpose
The /usr/local hierarchy is for use by the system administrator when 
installing software locally. It needs to be safe from being overwritten when 
the system software is updated. It may be used for programs and data that are 
shareable amongst a group of hosts, but not found in /usr.

Locally installed software must be placed within /usr/local rather than /usr 
unless it is being installed to replace or upgrade software in /usr.[footnote 
23]
4.9.2 Requirements
The following directories, or symbolic links to directories, must be in 
/usr/local

"/usr/local"            "Local hierarchy"
bin                     Local binaries
games           Local game binaries
include         Local C header files
lib                     Local libraries
man                     Local online manuals    
sbin                    Local system binaries
share           Local architecture-independent hierarchy
src                     Local source code

Tree 4.9.2.1

No other directories, except those listed below, may be in /usr/local after 
first installing a FHS-compliant system.
4.9.3 Specific Options
If directories /lib<qual> or /usr/lib<qual> exist, the equivalent directories 
must also exist in /usr/local
"
-----------------------------------------------------------------------
http://www.pathname.com/fhs/2.2/fhs-4.9.html


When using the FHS guidelines /usr/local/games/ would be the right directory 
for Flightgear.
/usr/local/games is also used by all commercial games that are available for 
linux and unix systems. 

Best Regards,
 Oliver C.






>From the FHS do

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to