Centos6 method for installing Chinese fonts

  • 2020-05-12 06:37:43
  • OfStack

Install the font management software first


[root@localhost ~]# yum install fontconfig

Will need to install the font on the/usr/share/fonts chinese/directory

If this directory does not exist, you can create it yourself

Modify directory permissions so that other users can use them as well


[root@localhost ~]# chmod -R 755 /usr/share/fonts/chinese

Apply the changes


[root@localhost ~]# fc-cache -fv

Note that some applications may need to be restarted to take effect

Use the following command to view the installed fonts


[root@localhost ~]# fc-list

Related articles: