问题
安装命令:
yum -y install gcc-c++
报错信息
修改此文件
vi /etc/yum.repos.d/epel-modular.repo
注释
metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-modular-KaTeX parse error: Expected 'EOF', got '&' at position 11: releasever&̲arch=basearch&infra=KaTeX parse error: Expected 'EOF', got '&' at position 6: infra&̲content=contentdir
添加
baseurl=http://mirrors.cloud.aliyuncs.com/epel/8/Everything/$basearch
最终修改结果如下。
执行命令
:wq! 保存退出就完成了。