Install core fonts Centos 6

Centos 6 does not comes with the Core Fonts from M$. Here 's how can we add them

yum install ttmkfdir cabextract rpm-build

For chkfontpath, we need the ATrpms repository or download the file directly from http://pkgs.org/centos-6-rhel-6/atrpms-i386/chkfontpath-1.10.1-2.el6.i686.rpm.html

Note: The chkfontpath has dependencies, so it's best to add the ATrpms repository…

If you want to add the ATRPMS repository, just download the rpm to add the repository from here: http://dl.atrpms.net/el6-i386/atrpms/stable/atrpms-repo-6-4.el6.i686.rpm

rpm -ivh atrpms-repo-6-4.el6.i686.rpm

yum install chkfontpath

wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec

rpmbuild -bb msttcorefonts-2.0-1.spec

cd rpmbuild/RPMS/noarch

ls

msttcorefonts-2.0-1.noarch.rpm

rpm -ivh msttcorefonts-2.0-1.noarch.rpm

cd /usr/share/fonts/msttcorefonts

mkfontscale

mkfontdir


Voilá! We have now the M$ core fonts installed and available to us.

References: http://corefonts.sourceforge.net/