How to add new fonts to your Linux system

Adding New Fonts to Your System

Installing Microsoft Fonts

sudo apt-get install ttf-mscorefonts-installer

 System-wide Installation

To install fonts to your system for use by all users, (as root) you can place the font files somewhere under /usr/share/fonts or /usr/share/fonts/truetype. Alternatively, if the fonts reside elsewhere on your system, as root, you can also link to the directory.

Method 1

gksu nautilus

* create /usr/share/fonts/truetype/

* copy font files to new location.

* then update your font cache.

sudo fc-cache -fv

Method 2

sudo ln -s /path/to/fontfiles /usr/share/fonts/fontfiles

* then update your font cache.

sudo fc-cache -fv

Per-user Installation

* in your home directory, create .fonts/

mkdir .fonts

* copy font files to the new location

* update your font cache

fc-cache -fv

The above commands has been tested on Linux Mint. It should work on Ubuntu and other similar distos.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.