按网上老师的方法:
sudo yum groupinstall "Simplified Chinese Support"
可执行之后Terminal报错,提示不存在这个group。不过到这一步已经接近成功了,继续搜索groupinstall,找到redhat.com的官方贴How to install a group of packages with yum on Red Hat Enterprise Linux?。
原因:
原来之前CentOS版本的字体group软件包已经被隐藏,在group列表中的名字也被修改成 Fonts。
最终解决方法:查看隐藏的group列表,并安装
执行: yum grouplist hidden
执行: sudo yum groupinstall Fonts
完成后,执行: fc-list :lang=zh 查看,中文列表
[root@localhost ~]# fc-list :lang=zh
/usr/share/fonts/wqy-microhei/wqy-microhei.ttc: WenQuanYi Micro Hei,文泉驛微米黑:style=Regular
/usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc: WenQuanYi Zen Hei:style=Regular
/usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc: WenQuanYi Zen Hei Sharp,文泉驛點陣正黑:style=Regular
/usr/share/fonts/cjkuni-uming/uming.ttc: AR PL UMing TW MBE:style=Light
/usr/share/fonts/wqy-microhei/wqy-microhei.ttc: WenQuanYi Micro Hei Mono,文泉驛等寬微米黑:style=Regular
/usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc: WenQuanYi Zen Hei Mono:style=Regular
/usr/share/fonts/cjkuni-uming/uming.ttc: AR PL UMing TW:style=Light
/usr/share/fonts/cjkuni-uming/uming.ttc: AR PL UMing HK:style=Light
/usr/share/fonts/cjkuni-uming/uming.ttc: AR PL UMing CN:style=Light