Configuring the Yum Source and Installing the Dependencies
Procedure
- Use PuTTY to log in to the server as the root user.
- 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
- 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
- Clear the Yum cache.
yum clean all yum makecache
- Install the dependencies.
yum install python numpy libgfortran python-qt4 scipy pyshp -y
Parent topic: Configuring the Compilation Environment