EPEL仓库地址

https://fedoraproject.org/wiki/EPEL

 

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
或者
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
查看仓库
yum repolist
临时启用
yum --enablerepo=epel install htop
永久启用仓库
yum-config-manager --enable epel