安装GMP

操作步骤

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

    tar -xvf gmp-6.2.0.tar.xz

  3. 执行以下命令进行配置。

    cd gmp-6.2.0
    ./configure --prefix=/path/to/GMP

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

    make -j&&make install