中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

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