Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm generating PDF's with something called PrinceXML, it seems it requires a package called: msttcorefonts

I have been unable to use aptitude to get it and I recived this as an error:

$ sudo apt-get install msttcorefonts
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package msttcorefonts is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package msttcorefonts has no installation candidate

How can I get this package installed?

share|improve this question
up vote 7 down vote accepted

Update for year 2015:

Add this to (or uncomment in) /etc/apt/sources.list

deb trusty multiverse
deb-src trusty multiverse
deb trusty-updates multiverse
deb-src trusty-updates multiverse
deb trusty-security multiverse
deb-src trusty-security multiverse

Then run this:

sudo apt-get update
sudo apt-get install msttcorefonts
share|improve this answer
Thanks for the update, this looks like it works best. – JP Silvashy Jun 12 '15 at 3:29
1 will get you the nearest mirror (instead of which will get you only the nearest mirror in the US.) – tudor Jan 27 at 5:01
Also, there's now trusty-security repos as well. I've edited the answer to reflect these. – tudor Jan 27 at 5:01

This seems to have changed in karmic. There is no package msttcorefonts anymore.

Use the package ttf-mscorefonts-installer from the Multiverse repository instead.

How to enable the Mutliverse repository see here.

Then install with:

   sudo apt-get install ttf-mscorefonts-installer

Technically speaking the package doesn't contain the fonts, but rather automatically downloads and installs them - hence the name change.

share|improve this answer
great! funny thing is that ttf-mscorefonts-installer wasn’t in the multiverse repo either, but running the old command did the trick. – JP Silvashy Dec 1 '09 at 21:24

Enabling the multiverse ( and then installing with msttcorefonts worked for me:

sudo apt-get install msttcorefonts

ttf-mscorefonts-installer isn't in the multiverse either

share|improve this answer

Specifically, look under the package names listed on that page itself, not on the download links.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.