How Do I Use the module Command After Installing the environment-modules Dependency?
Symptom
How do I use the module command after installing the environment-modules dependency?
Key Process and Cause Analysis
None.
Conclusion and Solution
After installing the environment-modules dependency, run the following command to load the modules environment variables:
- Ubuntu
source /usr/share/modules/init/bash
- Other OSs
source /usr/share/Modules/init/bash