How to install extra TrueType fonts in Linux

Installing TrueType fonts in Linux is quite easy. There are of course different ways to install fonts, but we will only show one (possible) way. We prefer using the commandline for this, because these method will always work on a given Linux distribution, regardless of which desktop environment you use (Gnome, KDE, Xfce or even another one).

First, download all the font-files you'd like to install and unpack them in the same location (e.g. your desktop). Then you have to specify the font-directory of your system. In Ubuntu, this will be:


Next, you can create a separate subdirectory for your extra fonts. This way, it's easier to uninstall them if you don't need them anymore. In this example, we create a directory "ttf-transliteration" for installing transliteration fonts:

sudo mkdir $DESTDIR

Then copy the font-files to this directory:

sudo cp *.ttf $DESTDIR

Finally, update the font-cache:

sudo fc-cache -f -v

Your new font(s) should now be available in applications as OpenOffice, Gimp and many others.

If you ever want to uninstall these fonts, just remove the directory and update the font-cache again, e.g.:

sudo rm -r /usr/share/fonts/truetype/ttf-transliteration
sudo fc-cache -f -v

Tested in:

  • Ubuntu (6.06-6.10)