Installing Microsoft Core fonts on CentOS 6

Microsoft fonts installation requires chkfontpath binary. It can be installed with all the dependencies by using atrpms.

1. Install atrpms repository

rpm -ivh http://dl.atrpms.net/el6.6-x86_64/atrpms/stable/atrpms-repo-6-6.el6.x86_64.rpm


2. Install chkfontpath

yum install chkfontpath -y


3. Download bundled font rpm file

wget http://e1c969bf782b41551715-b290cd58820bc0967c594f9c48cb6407.r43.cf2.rackcdn.com/msttcorefonts-2.0-1.noarch.rpm


4. Install fonts

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


5. Enable fonts

cd /usr/share/fonts/msttcorefonts
mkfontscale
mkfontdir


Now all done. MS fonts are available to use on centos server.

Leave a Reply

Your email address will not be published. Required fields are marked *