中标麒麟 NeoKylin 5.1 安装C++环境
yum install gcc-c++
报如下错误:
已加载插件:langpacks, refresh-packagekit 没有可用软件包 gcc-g++。
vi /etc/yum.repos.d neokylin.repo
修改后的仓库地址如下
[Neokylin]
name= NeoKylin 7.1
baseurl=http://download.cs2c.com.cn/neokylin/desktop/releases/7.1/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-neokylin-$basearch
#additional packages that may be useful for developer,this repository may
#not have been tested as extensively as that contained in the main release.
[Neokylin-extras]
name= NeoKylin 7.1 extras
baseurl=http://download.cs2c.com.cn/neokylin/desktop/everything/7.1/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-neokylin-$basearch
~
系统默认配置的5.1版本无法使用,所以使用7.1版本的