How to install Microsoft True Type fonts for Centos 7?

There is no fonts directory in /usr/share at all on my system. How can I go about installing Microsoft True Type fonts in Centos 7? I only need Arial and Georgia.

Asked By: cea

||

Try install one of these using rpm (I’m not sure which is better):

BTW, if your problem is not compatible issue, please use free/libre fonts. There are many beautiful ones, such as DejaVu, Droid and URW.

Answered By: McSinyx

A lot of additional packages related to fonts and media is available in this repository mentioned in the CentOS Wiki.

yum install wine

Installs most all the fonts needed, when the repository is added, as per the wiki here: https://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7

yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

I’m not sure how trustworthy the sources in that repository is, but the same can be said for most anything regardless of source – until we have a more widespread and healthy Linux auditing community.

Answered By: Dagelf

This is documented at: http://mscorefonts2.sourceforge.net/

yum install curl cabextract xorg-x11-font-utils fontconfig
yum install https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
Answered By: Mircea Vutcovici

You may want to install group of packages fonts from epel-release:

yum install -y epel-release
yum update -y
yum groupinstall -y "fonts"
Answered By: user339704
Categories: Answers Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.