Installing Fonts on Linux

First, download your desired font. Fonts are usually TTF (.ttf), OTF (.otf). For illustration, let’s say you downloaded MyFont.ttf.

Install for your user only

Place the font file into ˜/.local/share/fonts. If this folder does not exist, you can create it.

1
2
mkdir -p ˜/.local/share/fonts
cp MyFont.ttf ˜/.local/share/fonts/

Install system-wide

Copy the font to /usr/share/fonts or /usr/local/share/fonts. You’ll need root privileges:

1
sudo cp MyFont.ttf /usr/share/fonts/

Update the font cache

After copying the font file, update the font cache so the system recognizes it:

1
fc-cache -fv

Verify Installation

You can check if the font is installed by listing fonts:

1
fc-list

Installing Fonts on Linux
https://jifengwu2k.github.io/2026/02/15/Installing-Fonts-on-Linux/
Author
Jifeng Wu
Posted on
February 15, 2026
Licensed under