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

# 编译和安装

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令进入主程序安装目录：

```
cd
/path/to/Rosetta
```


3. 执行以下命令进行编译安装：

```
./rosetta.sh compile --enable-protocol-mpc-securenn
./rosetta.sh install
```
