Wednesday, October 15, 2008

Howto Install Microsoft Core Fonts on Linux

Linux does not ship with Microsoft's core fonts. This means that fonts like Arial are simply not available with a default distro. Here is how one gets them installed using Fedora 9 x86_64. I have posted them in an RPM on under the General section.

ALL THANKS to for a great guide and for their hard work.

1. Set up a build environment in your home directory:
Create a file in your home directory called .rpmmacros
Add the following line to the file.

%topdir %(echo $HOME)/rpmbuild
2. Create the following directories:

3. Log in as root and install some prerequisites.

# yum install rpmbuild ttmkfdir cabextract

4. You will need chkfontpath. I found my copy here: I downloaded it and installed it with:
yum --nogpgcheck localinstall chkfontpath-1.10.1-2.fc9.x86_64.rpm
5. Make a temporary directory for your spec file.
mkdir ~/mscorefonts && cd ~/mscorefonts
5. Download the mscorefonts spec file from:
6. Build the mscorefonts rpm with:
rpmbuild -bb ~/mscorefonts/msttcorefonts-2.0-1.spec

7. Finally install the mscorefonts package with:
yum --nogpgcheck localinstall ~/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
8. Your fonts will be saved in:
Post a Comment