---
title: 安装GMP
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengcp2k7_02_0006.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengcp2k7_02_0006.html
indexId: e3e0baa4c015cd6179c6ef66fb7ef2a180ab5ac9244247f4b308dee3e9f2c0cb67
---
# 安装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
```
