I've just installed Fedora 15 and here is some troubles with fonts. How can I install MS fonts?
7 Answers
This is slightly modified from the instructions found here (and I haven't even checked if they work):
Install the chkfontpath package from ATrpms (Click on either the i686 or x86_64 package, depending on whether you have a 32-bit or 64-bit machine).
As root, install some packages you'll need for the following steps:
yum install rpm-build cabextract ttmkfdir wget
Download the MS Core Fonts Smart Package File:
wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
Build the Core Fonts package:
rpmbuild -ba msttcorefonts-2.0-1.spec
Install the Core Fonts package:
yum install --nogpgcheck /root/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
With the modern font libraries, this is easy. The best way is to simply get the .ttf
files you want and drop them into ~/.fonts
in your home directory. (If that doesn't exist, create it.)
Then, they should be available to your applications. This is per-user rather than system-wide (which you get with the msttcorefonts
package), but has some advantages — you don't have to build an RPM, for one, and second, if you preserve your home directory when you upgrade to Fedora 16, they'll still be there and still just work.

- 40,245
I had problems with Tshepang's method, but this worked for me (source):
cd /usr/local/src/
wget http://fedora.missingbox.co.nz/core-fonts.rpm
yum localinstall --nogpgcheck core-fonts.rpm
You can use mjmwired's msttcorefonts package or atleast his SPEC to build it yourself. http://www.mjmwired.net/resources/mjm-fedora-f15.html#ttf
Try this instead:
rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.2-1.noarch.rpm
This RPM installs the fonts from SourceForge at install time, it does not contain the fonts. In addition, it pulls in updated fonts from the EUupdate font set, and installs the fonts correctly to X core and Xft.

- 52,586

- 21
You need also rpmdevtools to build rpm.
su -c "yum install rpmdevtools rpm-build cabextract ttmkfdir"

- 11
yum -y localinstall http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm && yum -y update --nogpgcheck && yum -y install freetype-freeworld wget cabextract fontconfig xorg-x11-font-utils && wget http://repo.missingbox.co.nz/repo/linux/msfonts/1.2/msfontinstaller.sh && sh msfontinstaller.sh
yum
operations. And building a random, unreviewed specfile as root or non-root is somewhat dangerous. – mattdm Aug 08 '11 at 14:54wget
andrpmbuild
to be run as root. – tshepang Aug 08 '11 at 16:34