---
title: 编译和安装
description: 1. 使用PuTTY工具，以root用户登录服务器。
url: "https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengsrap_02_0013.html"
---

# 编译和安装

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令进入源码包目录。

```
cd
/path/to/SRAP
```


3. 执行以下命令解压并安装sRAP。

```
R CMD INSTALL sRAP_1.26.0.tar.gz
```


  回显显示如下信息，则表示安装成功。
