Installing Fonts On Linux Made Easy

We all know windows stores it’s fonts in the   c:\windows\fonts folder. So to install any font all we do is copy the font file and paste it into the folder. Alternatives include opening the font files and installing them one by one.

Well, Linux also, manages it’s fonts in a similar manner. It uses folders to store fonts. You can see the folders used for storing fonts in your distro, from the file :

/etc/fonts/fonts.conf

So, what we need to do is copy and paste the font into any of the mentioned locations from the file. Common locations include :

/usr/share/fonts,

/usr/local/share/fonts,

/home/<username>/.fonts

where <username> is your username. The last location stores fonts forspecific users. So, you can install your own fonts(for your personal use) here.

To install fonts,

run :

gksu nautilus /usr/share/fonts/truetype

Now, create a new directory there. Put all your fonts in that directory.

Finally, update the font cache with the command :

sudo fc-cache -f -v

Log out and login back to see changes.

This is a very helpful trick as the fonts that come with Linux distros are really poor in quality. Hope they will invest some resources to that in future releases.

3 thoughts on “Installing Fonts On Linux Made Easy”

  1. In KDE, open a file manager (Dolphin or Konqueror) and browse to
    fonts:/Personal
    or
    fonts:/System
    To install new fonts, just drag-and-drop them into this folder. fonts:/ is one of the many cool KIO Slaves that KDE has, making every KDE application network-friendly (ok, fonts:/ isn’t a network thing, but its still a KIO Slave)

  2. I don’t know why fc-cache -f -v does show TTF in its verbose:
    /usr/share/fonts: caching, 0 fonts, 5 dirs
    /usr/share/fonts/bitmap-fonts: caching, 31 fonts, 0 dirs
    /usr/share/fonts/bitstream-vera: caching, 10 fonts, 0 dirs
    /usr/share/fonts/default: caching, 0 fonts, 2 dirs
    /usr/share/fonts/default/Type1: caching, 35 fonts, 0 dirs
    /usr/share/fonts/default/ghostscript: caching, 8 fonts, 0 dirs
    /usr/share/fonts/dejavu-lgc: caching, 21 fonts, 0 dirs
    /usr/share/fonts/liberation: caching, 12 fonts, 0 dirs
    /usr/share/X11/fonts/Type1: caching, 29 fonts, 0 dirs
    /usr/share/X11/fonts/OTF: skipping, no such directory
    /root/.fonts: skipping, no such directory
    /var/cache/fontconfig: cleaning cache directory
    /root/.fontconfig: not cleaning unwritable cache directory
    fc-cache: succeeded

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>