---
title: yum安装依赖库
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengespresso_02_0005.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengespresso_02_0005.html
indexId: ec0d042873fc313fe1c3b77cc6040886b2cc8934ab4f5871bd380b374145d96470
---
# yum安装依赖库

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令配置华为云镜像源。

```
wget --no-check-certificate -O /etc/yum.repos.d/CentOS-Base.repo
http://mirrors.tools.huawei.com/repository/conf/CentOS-AltArch-7.repo
echo '[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://mirrors.tools.huawei.com/epel/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=0' > epel.repo
```


3. 执行以下命令配置软件源缓存。

```
yum clean all
yum makecache
```


4. 执行以下命令安装Python3、GSL、Git、numpy、Cython。

```
yum install -y python36 python3-devel gsl-devel git python36-numpy.aarch64  python36-Cython.aarch64
```
