Translations:Installing software in your home directory/11/en: Difference between revisions
(Importing a new version from external source) |
(Importing a new version from external source) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
The core of this software stack is provided by the <code> | The core of this software stack is provided by the <code>gentoo//2020</code> module, which is loaded by default. This stack, internally managed using the Gentoo package manager, is located at <code>/cvmfs/soft.computecanada.ca/gentoo/2020/usr</code>. The environment variable <code>$EBROOTGENTOO</code> should be used to refer to this path. | ||
Under this location you can find all of the common packages typically included with Linux distributions, for instance <code>make</code>, <code>ls</code>, <code>cat</code>, <code>grep</code>, and so on. Typically, when you compile some software, the compiler and linker will automatically look for header files and libraries in the right location (via the environment variables <code>$CPATH</code> and <code>$LIBRARY_PATH</code>, respectively). | Under this location you can find all of the common packages typically included with Linux distributions, for instance <code>make</code>, <code>ls</code>, <code>cat</code>, <code>grep</code>, and so on. Typically, when you compile some software, the compiler and linker will automatically look for header files and libraries in the right location (via the environment variables <code>$CPATH</code> and <code>$LIBRARY_PATH</code>, respectively). | ||
Some software, however, has been | Some software, however, has been hard-coded to look under <code>/usr</code>. If that is the case, the compilation will typically fail, and needs to be explicitly told about <code>$EBROOTGENTOO</code>. Sometimes that means adjusting a Makefile, sometimes it needs to be specified in a certain <code>--with-</code> flag for the configure script, or a configuration file needs to be edited. If you are not sure how to do this please do not hesitate to ask for help. |
Latest revision as of 17:34, 31 March 2021
The core of this software stack is provided by the gentoo//2020
module, which is loaded by default. This stack, internally managed using the Gentoo package manager, is located at /cvmfs/soft.computecanada.ca/gentoo/2020/usr
. The environment variable $EBROOTGENTOO
should be used to refer to this path.
Under this location you can find all of the common packages typically included with Linux distributions, for instance make
, ls
, cat
, grep
, and so on. Typically, when you compile some software, the compiler and linker will automatically look for header files and libraries in the right location (via the environment variables $CPATH
and $LIBRARY_PATH
, respectively).
Some software, however, has been hard-coded to look under /usr
. If that is the case, the compilation will typically fail, and needs to be explicitly told about $EBROOTGENTOO
. Sometimes that means adjusting a Makefile, sometimes it needs to be specified in a certain --with-
flag for the configure script, or a configuration file needs to be edited. If you are not sure how to do this please do not hesitate to ask for help.