modulecmd
Modular system for handling environment variables
Install
- All systems
-
curl cmd.cat/modulecmd.sh
- Debian
-
apt-get install environment-modules
- Ubuntu
-
apt-get install environment-modules
- Kali Linux
-
apt-get install environment-modules
- CentOS
-
yum install environment-modules
- Fedora
-
dnf install environment-modules
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install environment-modules
- Raspbian
-
apt-get install environment-modules
- Dockerfile
- dockerfile.run/modulecmd
environment-modules
Modular system for handling environment variables
The Modules package provides for the dynamic modification of a user's environment via modulefiles. Each modulefile contains the information needed to configure the shell for an application. Once the Modules package is initialized, the environment can be modified dynamically on a per-module basis using the module command which interprets modulefiles. Typically modulefiles instruct the module command to alter or set shell environment variables such as PATH, MANPATH, etc. modulefiles may be shared by many users on a system and users may have their own collection to supplement or replace the shared modulefiles. The modules environment is common on SGI/Crays and many workstation farms.