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

# 编译和安装

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令安装相关依赖。

```
yum install -y python3 python3-pip
pip3 install networkx==2.2
```


3. 执行以下命令进入目录解压安装包。

```
cd /path/to/Ragou
tar -xvf 2.3.tar.gz
cd Ragout -2.3
```


4. 执行以下命令进行编译。

```
python3 setup.py build
python3 setup.py install
```
