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

#### 操作步骤

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

```
tar -zxvf szip-2.1.1.tar.gz
```


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

```
cd szip-2.1.1
```


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

```
./configure --prefix=
/path/to/SZIP
```


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

```
make -j
64
make install
```


6. 执行以下命令加载SZIP环境变量。

```
export LD_LIBRARY_PATH=
/path/to/SZIP
/lib:$LD_LIBRARY_PATH
```
