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

sudo apt-get install ttf-mscorefonts-installer

For older version of Ubuntu

sudo apt-get install msttcorefonts

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.

sudo apt-get install ttf-liberation

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

Related Ebooks: