Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the Yum Source and Installing the Dependencies

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Configure the basic Yum source.
    cd /etc/yum.repos.d/
    mv CentOS-Base.repo CentOS-Base.repo-bak
    wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.huaweicloud.com/repository/conf/CentOS-AltArch-7.repo
  3. Configure the additional Yum source.
    vim epel.repo

    Add the following content to the file:

    [epel]
    name=Extra Packages for Enterprise Linux 7 - $basearch
    baseurl=http://mirrors.tools.huawei.com/epel/7/$basearch
    failovermethod=priority
    enabled=1
    gpgcheck=0
  4. Clear the Yum cache.
    yum clean all
    yum makecache
  5. Install the dependencies.
    yum install python numpy libgfortran python-qt4 scipy pyshp -y