Snippet: How to Install Fonts In Ubuntu

While Ubuntu comes with its own set of fonts, it is still lacking in both quantity and quality. For developers and designers who need to work with creative works, there will be times where you need to install new fonts in your Ubuntu system. Luckily, it is not too difficult to do it. Here’s how:

Install Microsoft Core Fonts

Simply run the following command in the terminal:

For Ubuntu Lucid

For older version of Ubuntu

Install Red Hat Liberation Fonts

Red Hat has created replacements for the MS core fonts, called the Liberation fonts. Those interested can use the following command to install it.

Install any custom fonts

If you found/downloaded a ttf font that you like and want to install in your Ubuntu machine:

1. Open Nautilus. In your Home folder, create a new folder (if not exist) and name it .fonts (with the dot in front of the name). The folder should disappear after you rename it. Simply press Ctrl + H to display all hidden files.

2. Now, copy all your ttf fonts to the .fonts folder.

That’s it. if you have your OpenOffice, GIMP or any applications opened, you need to relaunch the application for it to include the new font.

Installing a non-ttf font

There will be times where you will encounter a non-tff font type (for example – otf). To install them, you have to first convert them to ttf format. Check out this tutorial for the full guide.

Snippet is a short tip/trick or just a quick fix for a certain issue that we discover from time to time. Don’t forget to subscribe to our RSS feed for more up to date tutorials/tips/tricks.

Image credit: matt_in_a_field


  1. Just a small correction – it shouldn't be “sudo apt-get ttf-mscorefonts-installer”, but “sudo apt-get install ttf-mscorefonts-installer”

  2. TrueType and OpenType fonts (regardless of extension) are basically the same thing.  In attempting to “convert” to a less featured revision of the standard, you’re likely simply to be causing information loss by dropping the modern advanced metadata than makes rendering scripts such as Arabic possible.

    For families such as the Ubuntu Font Family the fonts forming the typeface are each OpenType, but saved with a .ttf ending for reasons of familiarity with that filename extension.

Comments are closed.