PDF download Download Article
Easily add fonts to Ubuntu from the desktop or terminal
PDF download Download Article

If you use Ubuntu Linux, it's easy to install TrueType (TTF) fonts so you can use them in apps like LibreOffice, GIMP, and Krita. You can even install Windows TrueType fonts like Arial, Times New Roman, and Comic Sans for cross-compatibility. This guide will teach you how to install TrueType fonts in Ubuntu Linux using graphical options and terminal commands.

Installing Fonts in Ubuntu

  • To install one font quickly, double-click the .TTF file and select Install.
  • To install Microsoft fonts on Ubuntu, use the command "sudo apt install ttf-mscorefonts-installer".
  • In a terminal, copy TrueType fonts to the ".fonts" folder in your home directory, then use "fc-cache -vr" to build the font cache.
Section 1 of 5:

Installing One Font

PDF download Download Article
  1. The file extension for TrueType fonts is .ttf. Installing TrueType fonts on Ubuntu is super easy, and you don't even have to use a terminal.
    • If you download a .ZIP file, you will need to unzip it first.
  2. This opens the Fonts browser so you can see a preview of the font, as well as the option to install it.
    Advertisement
  3. This copies the font to the necessary folder and makes it available for use in Ubuntu.[1]
    • If you aren't able to use the font in your apps after this, type sudo fc-cache -vr and press Enter to build the font cache.
    • If you don't have the Font viewer, you can install it from the Snap Store using the command sudo snap install gnome-font-viewer.[2]
  4. This builds the font info cache files and makes your fonts available in Ubuntu apps.
    • If you get the error "command not found," run sudo apt install fontconfig first.
    • If you want to use a font in an app like LibreOffice Writer and don't see it available, you'll need to close and reopen the app first.
  5. Advertisement
Section 2 of 5:

Installing Fonts in Font Manager

PDF download Download Article
  1. This GUI app makes it easy to install one or more fonts (TrueType and OpenType) in Ubuntu. It works in GNOME, KDE, XFCE, Enlightenment, and more desktop environments.[3] You can get it easily using apt in a terminal:
    • Open a terminal window.
    • Type sudo apt update and press Enter.
    • Type sudo apt install font-manager and press Enter.
    • Press y when prompted.
  2. If you haven't already, unzip any font files you've downloaded from the web.
  3. You can open it by searching for it in Activities view or by running font-manager & at the prompt.
    • The first time you open Font Manager, it will scan and display your currently installed fonts.
  4. It's near the upper-left corner. This opens the file picker.
  5. This adds the selected fonts to Ubuntu.
    • If you want to use a font in an app like LibreOffice Writer and don't see it available, you'll need to close and reopen the app first.
  6. Advertisement
Section 3 of 5:

Installing Microsoft Fonts on Ubuntu

PDF download Download Article
  1. If you need Microsoft fonts like Arial, Georgia, Verdana, Comic Sans, Impact, and Times New Roman, you can install them easily from this package.[4]
    • Open a terminal window.
    • Type sudo apt update and press Enter.
    • Type sudo apt install ttf-mscorefonts-installer and press Enter.
    • Press y when prompted. This will open a colorful installer right inside your terminal.
  2. Once you agree, the fonts will be installed.
    • Scroll all the way down.
    • Press Tab to highlight the OK button and press Enter.
    • Select Yes and press Enter.
  3. This builds the font info cache files.
    • If you get the error "command not found," run sudo apt install fontconfig first.
  4. Open the Fonts browser in Ubuntu (it comes preinstalled with GNOME) by typing Fonts into the activities menu and selecting Fonts. You should now see your newly installed Microsoft TTF fonts.
    • If you don't have the font viewer, you can install it from the Snap Store–just use sudo snap install gnome-font-viewer to install.
    • If you want to use a font in an app like LibreOffice Writer and don't see it available, you'll need to close and reopen it first.
  5. Advertisement
Section 4 of 5:

Installing Fonts in a Terminal

PDF download Download Article
  1. If you have downloaded multiple fonts from the web and want to use them in Ubuntu, you will just need to make sure they are in the right directory, then run a quick command to build your font cache.
    • If the font files are zipped, unzip them before you continue.
    • You can use this method to add multiple fonts to Ubuntu at once, as well as add just a single font, using terminal commands.
  2. If you only want the fonts to be available for your user account (recommended), you can create a new directory called .fonts in your home directory. To do this, open a Terminal window, type mkdir -p .fonts, and press Enter.
    • If you want the new fonts to be available for all users of the system (less common), you can skip this step and instead place your fonts in /usr/share/fonts.
  3. For example, if you downloaded all your fonts to the Downloads folder, cd Downloads now.
    • Do a quick ls -a to see how your font files are named. They may not all end in .ttf or have uniform capitalization.
  4. For example, if all your downloaded fonts end with .ttf or .TTF, you can copy them to your fonts folder using cp .ttf .TTF ~/.fonts.
    • If you're making the fonts available system-wide, use sudo cp .ttf .TTF /usr/share/fonts.
  5. This builds the font info cache files and makes your fonts available in Ubuntu apps.
    • If you get the error "command not found," run sudo apt install fontconfig first.
    • If you want to use a font in an app like LibreOffice Writer and don't see it available, you'll need to close and reopen the app first.
  6. Advertisement
Section 5 of 5:

FAQ

PDF download Download Article
  1. 1
    Where can I find fonts for Ubuntu? Here are a few ways to find fonts for download:
    • Search for ttf in your preferred package manager. For example, if you want to find TrueType fonts in apt, use apt search ttf.
    • Install free Google Fonts.
    • Try a free font site like DaFont or 1001 Free Fonts.
  2. 2
    How do I see if a font is installed on Ubuntu? Use fc-match <fontname> to see if a font is installed on any version of Linux.
    • For example, fc-match impact will tell you whether the Impact font is installed.
  3. 3
    How do I install MS fonts in Ubuntu? You just need to install the ttf-mscorefonts-installer package using the command sudo apt install ttf-mscorefonts-installer. Follow the on-screen instructions to accept Microsoft's EULA and install the fonts, then run fc-cache -f -v to make the fonts available.
  4. 4
    Why aren't my fonts showing up in LibreOffice? If you had LibreOffice open when you installed your new fonts, you will need to close and reopen it for the fonts to become available.
  5. 5
    What is the default font in Ubuntu? Ubuntu's default fonts come from the Ubuntu font family.[5]
    • If you are using a different version of Linux (or another operating system like Windows or macOS), you can download the Ubuntu family of fonts from Ubuntu at design.ubuntu.com/font–just scroll down and click Download the Ubuntu Font Family to save the ZIP file of TrueType fonts to your computer.
  6. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How can I install the TimesNewRoman font on Ubuntu Mate 18?
    كن مثقفا
    كن مثقفا
    Community Answer
    Go to Word, and acceuil in the list of tools, then go to write and choose Times New Roman 18.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

  • If you don't have root/sudo privileges on the machine, put the TTF files in the ~/.fonts directory instead of /usr/share/fonts.
  • You can install fonts in Fedora, Red Hat, Linux Mint, and many other Linux distributions.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Advertisement

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 694,478 times.
How helpful is this?
Co-authors: 24
Updated: April 30, 2025
Views: 694,478
Categories: Ubuntu
Thanks to all authors for creating a page that has been read 694,478 times.

Reader Success Stories

  • Anonymous

    Anonymous

    Jun 26, 2016

    "It worked like charm."
Share your story

Is this article up to date?

Advertisement