CentOS-Linux-PowerTools.repo

dnf config-manager --set-enabled powertools
dnf repolist

sudo sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-*

sudo sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-*

dnf --enablerepo=powertools install glibc-static
dnf --enablerepo=PowerTools install libstdc++-static

标签: none

添加新评论