编译和安装

操作步骤

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令解压源码。

    cd /path/to/Lmod
    tar -xvf 8.7.15.tar.gz
    cd Lmod-8.7.15

  3. 执行以下命令生成makefile。

    ./configure -prefix=/path/to/Lmod

  4. 执行以下命令编译安装。

    make install