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

#### 操作步骤

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

```
cd
/path/to/LIBINT
tar -xvf libint-release-1-2-0.tar.gz
```


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

```
cd libint-release-1-2-0
```


4. 执行以下命令编译。

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


5. 执行以下命令安装。

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