This is an old revision of the document!


Software

A common task that every user encounters at least once in his or her use of HPC systems is installing software. Whether that equates to running an install script or configuring/compiling/installing from source code, understanding the Linux environment; where software components belong within the filesystem; and knowing when and how to isolate individual software titles in their own space is critical to success.

Inherited from Unix is the basic layout of the Linux filesystem: a hierarchy of containers called directories descend from the root directory which is simply named /. Each directory can contain files or varying types as well as directories (thus, the hierarchical nature of the filesystem).

There are some directory names of higher significance in Unix and Linux:

Directory namePurpose
binContains executables — programs (compiled or scripted) that the user can run (execute)
etcContains configuration files that influence how programs execute
includeContains C/C++ header files associated with libraries that are present
libContains libraries — compiled subroutine/function bundles — that are used by executables
lib64A variant of lib containing code that was compiled for 64-bit execution
libexecContains executables the user is not meant to run directly, but will be executed by some other program or library
shareContains support files that an executable or library may use: help and documentation pages, data tables, etc.
sbinContains executables that are meant to be run by someone with higher privileges (e.g. the root user)

Most of the directories named above can be found in the root directory — /bin, /lib64, and /etc, for example — as well as in other parent directories. The /usr directory contains /usr/bin and /usr/lib64 (amongst others). The /usr/local directory contains /usr/local/bin and /usr/local/lib64, meant to hold components that are not integral to the operating system itself.

  • software/start.1551128032.txt.gz
  • Last modified: 2019/02/25 20:53
  • by frey