yum安装依赖库
操作步骤
- 使用PuTTY工具,以root用户登录服务器。
- 执行以下命令配置华为云镜像源。
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
- 执行以下命令配置软件源缓存。
yum clean all yum makecache
- 执行以下命令安装Python3、GSL、Git、numpy、Cython。
yum install -y python36 python3-devel gsl-devel git python36-numpy.aarch64 python36-Cython.aarch64
父主题: 配置编译环境