Directory Paths

These variables indicate the paths where the various Torch components are installed, as well as other common environment variables like $HOME. It is not advisable to change their values!

paths.install_prefix

The base directory of the Torch installation.

paths.install_bin

The name of the directory containing the executable programs. Under Windows, this directory also contains the dynamically loadable libraries (.dll).

paths.install_man

The name of the directory containing the unix style manual pages.

paths.install_lib

The name of the directory containing the object code libraries. Under Unix, this directory also contains the dynamically loadable libraries (.so or .dylib).

paths.install_share

The name of the directory containing processor independent data files, such as lua code and other text files.

paths.install_include

The name of the directory containing the include files for the various Torch libraries.

paths.install_hlp

The name of the directory containing the Torch help files.

paths.install_html

The name of the directory containing the HTML version of the Torch help files. These files are generated when you enable the CMake option HTML_DOC.

paths.install_cmake

The name of the directory containing the CMake files used by external Torch modules.

paths.install_lua_path

The name of the directory containing the Lua packages. This directory is used to build variable package.path.

paths.install_lua_cpath

The name of the directory containing the Lua loadable binary modules. This directory is used to build variable package.cpath.

paths.home

The home directory of the current user.