Translations:Installing software in your home directory/11/en

From Alliance Doc
Jump to navigation Jump to search

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.