How to install multiple ttf fonts for system-wide usage?
I had "WinFonts" folder in home directory including many true type fonts (.ttf) which I would like to install to be applied for use widely across Ubuntu system and apps. I need help guiding me to make this step?
Installing TTF fonts system wide it's not difficult. You just need to create a directory inside /usr/share/fonts/truetype/
, put there your *.ttf
fonts and then update system font cache with fc-cache -fv
(With the options -f
for Force re-generation of cache files and -v
for Verbose).
Step by step:
-
Create your custom fonts directory (let's call it
customfonts
):sudo mkdir /usr/share/fonts/truetype/customfonts
-
Copy your
*.ttf
fonts there:sudo cp ~/myfonts/*.ttf /usr/share/fonts/truetype/customfonts/
-
Update system font cache:
sudo fc-cache -fv
If you want to add more fonts later, just copy them to your usr/share/fonts/truetype/customfonts/
directory and update system font cache as above.