---
title: 配置编译环境
description: "1. 配置Yum网络源，请参考华为镜像源https://mirrors.huaweicloud.com/(https://mirrors.huaweicloud.com/)。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengncl_02_0004.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengncl_02_0004.html
indexId: fb3ace38d3db211e4078fca71888bbd0ef0545cac8f3405f8c18672ab34ccbcb65
---
# 配置编译环境

#### 操作步骤

1. 配置Yum网络源，请参考华为镜像源https://mirrors.huaweicloud.com/(https://mirrors.huaweicloud.com/)。
2. 配置“CentOS-AltArch”和“EPEL”两个镜像。
3. 配置完成后执行以下命令查看源是否配置成功。

```
yum repolist
```


  显示如下信息示例表示源配置成功。
