Normally, we have plenty of tools for installing fonts; even on Linux, GNOME and others provide many utilities for this.
However, sometimes there are special requirements. For example, we might need to add a font on a remote server.
There are a few simple ways to handle this.
First, the path.
You can choose any of the following paths (keeping the intended scope in mind):
- /usr/share/fonts
- /usr/share/X11/fonts
- /usr/local/share/fonts
- ~/.local/share/fonts
- ~/.fonts
Because a single font may have multiple styles such as Regular, Bold, and Italic, each stored in a separate TTF file, you can put these TTF files into one folder and move the whole folder over, or symlink it.
Then, refresh the cache.
Run the following command:
Bash
$ sudo fc-cache -fv
/usr/share/fonts: caching, new cache contents: 0 fonts, 5 dirs
...Finally, check the font list:
Bash
$ fc-list
Comments
No comments yet — be the first to write one.