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

#### 操作步骤

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

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


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

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