yum install -y --enablerepo

echo -e "[NOT-CERTIFIED] name=NOT-CERTIFIED baseurl=http://xxx/openopen/not-cert/rhel7-x86_64/latest/RPMS.all enabled=0 gpgcheck=0" > /etc/yum.repos.d/NOT-CERTIFIED.repo
yum install -y --enablerepo=NOT-CERTIFIED lrzsz

原文地址:https://www.cnblogs.com/tonggc1668/p/12394634.html