我要评分
获取效率
正确性
完整性
易理解

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