- a global configuration file /etc/hemera.conf (setup and updated by System administrator) containing usually the most of global and third-party tools configuration elements
- a user configuration file $HOME/.hemera/hemera.conf allowing each Hemera user to adapt configuration to his needs (whatever the reason, if there is no global configuration file, any user can define a complete configuration file)
These pages use the notion of configuration elements which refers to elements which can be defined in either one of these configuration files.
For better ease of use, Hemera configuration file provides two [configuration elements](/Appendix#Configuration_file]] to define some directory paths to add automatically to PATH or LD_LIBRARY_PATH environment variables
SphinxTrainbin-XX sub-directory). Hemera scripts will dynamically complete paths when starting.
In [configuration file](/Appendix#Configuration_file]], there is various configuration elements named hemera.*.path allowing to define third-party tools to use. For each, you can choose one of these ways to define it:
- specify the full path of the tool
- specify a path relative to [HEMERA_TP_PATH](/Appendix#HEMERA_TP_PATH]]
- specify simply the name of the tool if:
- it is available in the PATH environment variable (outside of Hemera)
- you have added its parent directory in hemera.path.bin
IMPORTANT: ensure to add library directory to hemera.path.lib for each third-party tools for which you have compiled source code (but if you have then installed them on your system). It is the case, for instance, if you have compiled [sphinx3 source code|Third-party:SpeechRecognition#From_source]].
After a global setup, Hemera scripts will be automatically available since next reboot. If you don't want to reboot, you can use:
After a user setup, you only have to open a new shell, or you can use:
The root directory where Hemera main project (and optional tools) is installed. By default, it corresponds to /usr/share/hemera.
The root directory of third-party project in which tools are installed (or symbolic links are created). It is defined with [configuration element](/Appendix#Configuration_file]] hemera.thirdParty.path. By default, it corresponds to /usr/share/hemera/ThirdParty.