Adding new font to Linux

A

We can easily install a TrueType font on Linux by simply opening it in default font viewer.

Some sometimes default font viewer hasn’t work as expected that’s why here comes the second method to install a font.

System-wide Installation

gksu nautilus

Create new directory /usr/share/fonts/truetype/ if not already created

sudo mkdir /usr/share/fonts/truetype/

Copy font files to new location.

sudo cp SomeFont.ttf /usr/share/fonts/truetype/

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

cp SomeFont.ttf /home/.fonts/

Update your font cache

fc-cache -fv

That’s It !! Enjoy the fonts…

About the author

Imran Pollob

Learn => Practice => Implement => Repeat

Add comment

Categories

Imran Pollob

Learn => Practice => Implement => Repeat

Get in touch