---
title: 安装gau2grid
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengpsi_02_0008.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengpsi_02_0008.html
indexId: d43dfd78a6459d23cfb780297463218e46c0d239268d1b70d2e16b5cbf257e1665
---
# 安装gau2grid

#### 操作步骤

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

```
cd
/path/to/GAU2GRID
tar -xvf gau2grid-1.3.0.tar.gz
```


3. 执行以下命令进入解压后的目录。

```
cd gau2grid-1.3.0
```


4. 执行以下命令编译。

```
mkdir
/path/to/GAU2GRID
/build
cmake -H. -B
/path/to/GAU2GRID
/build -DCMAKE_INSTALL_PREFIX=
/path/to/GAU2GRID
/install
```


5. 执行以下命令安装。

```
cd
/path/to/GAU2GRID
/build
make -j
make install
```
