Skip to content

Instantly share code, notes, and snippets.

@dolftax
Last active August 29, 2015 14:20
Show Gist options
  • Save dolftax/b89bef3ad133d1c62d9d to your computer and use it in GitHub Desktop.
Save dolftax/b89bef3ad133d1c62d9d to your computer and use it in GitHub Desktop.
Font Installation - Fedora
Ref - https://ask.fedoraproject.org/en/question/46706/how-to-install-different-type-of-fonts/
Step 1. Download whatever font you want. You can just save the ttf file or the whole zip file. I mostly use dafont.com , but any font website should work.
Step 2. Remember the path of where you saved it, and open a terminal. If the file is a zip file, use this command: unzip [FILE].
Step 3. Find the .ttf file in the download. If you unzipped the zip, use ls to find the name of the ttf file.
Step 4. Make a .fonts directory in your home directory, by using mkdir $HOME/.fonts. Then, move that file to the .fonts directory you created by using mv [TTF FILE] $HOME/.fonts. If you wish to install for the whole system, use sudo mv [TTF FILE] /usr/share/fonts.
Step 5. Last, update the font configuration by executing fc-cache -v. If you want to install system-wide, use fc-cache -s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment