Skip to content

Instantly share code, notes, and snippets.

@matthewhartman
Created March 1, 2015 11:27
Show Gist options
  • Star 41 You must be signed in to star a gist
  • Fork 15 You must be signed in to fork a gist
  • Save matthewhartman/7b1661dbe6ff26a231e4 to your computer and use it in GitHub Desktop.
Save matthewhartman/7b1661dbe6ff26a231e4 to your computer and use it in GitHub Desktop.
Install TTF Fonts in Debian
cd fonts
mv *.ttf /usr/share/fonts/truetype
cd /usr/share/fonts/truetype
mkfontscale
mkfontdir
fc-cache
xset fp rehash
@mr-katsini
Copy link

Great! Needed this, just needed to apt-get install xfonts-utils

@Yutab
Copy link

Yutab commented Sep 14, 2018

Good job!

@stefanct
Copy link

AFAICT it's enough to move/copy them into /usr/share/fonts/truetype in Debian Stretch. It will be picked up automatically.

@LucasFrecia
Copy link

Awesome. This was helpful.

@matthewhartman
Copy link
Author

Glad you all found it useful. Thought the least I could do is post it for other people and use it for my own reference :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment