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

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. （可选）执行以下命令，配置虚拟环境。

```
pip install virtualenv
cd
/path/to/XPRESSPLOT
virtualenv
xpressplot
source
/path/to/XPRESSPLOT/xpressplot/bin/activate
```


3. 执行以下命令，安装xpressplot。

```
pip install xpressplot
==0.2.5
```


  结果回显如下，表明安装成功。
