sudo yum -y install fontconfig freetype freetype-devel
安装完后,就可以使用fc-cache命令了,最后执行以下命令就ok了。
fc-cache
fc-cache -f -v fc-list | grep "Arial"