Install Fonts on Debian and Ubuntu

Installing fonts on Debian, Ubuntu or other Debian based systems is an easy task.

This is what you have to do when you download the font from a specialized site (e.g. dafont.com) and want to use it on your Linux and Unix System.

The fonts can be copied in one of this directories:

  • /usr/share/fonts
  • /usr/share/X11/fonts
  • /usr/local/share/fonts
  • ~/.fonts

I recommend you to put the fonts in /usr/share/fonts if you need everybody¬† to use them, and in the user’s $HOME/.fonts if they are for a certain user.

$ cp /path/to/font.ttf ~/.fonts

After you copy the fonts in one of the font directories, do this:

$ fc-cache -fv

The fc-cache command reads and caches all the fonts installed in the font directories.

Liked it? Take a second to support Geekster on Patreon!
Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!