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 fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 694,478 times.
Learn more...
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.
Steps
Installing One Font
-
Download a TrueType font. 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.
-
Double-click the TTF file. This opens the Fonts browser so you can see a preview of the font, as well as the option to install it.Advertisement
-
Click Install to install the font. 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]
-
Type fc-cache -vr and press ↵ Enter. 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.
Installing Fonts in Font Manager
-
Install GNOME Font Manager. 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.
-
Download and unzip your fonts. If you haven't already, unzip any font files you've downloaded from the web.
-
Open Font Manager. 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.
-
Click the + to add a new font. It's near the upper-left corner. This opens the file picker.
-
Select the font(s) you want to install and click Open. 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.
Installing Microsoft Fonts on Ubuntu
-
Install the ttf-mscorefonts-installer package. 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.
-
Agree to the Microsoft EULA. 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.
-
Type sudo fc-cache -vr and press ↵ Enter. This builds the font info cache files.
- If you get the error "command not found," run sudo apt install fontconfig first.
-
Confirm the installation. 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.
Installing Fonts in a Terminal
-
Download TrueType fonts. 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.
-
Create a directory in your home directory for your fonts. 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.
-
Enter the directory that contains your current font files. 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.
-
Move or copy your font files to your fonts directory. 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.
-
Type fc-cache -vr and press ↵ Enter. 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.
Community Q&A
-
QuestionHow can I install the TimesNewRoman font on Ubuntu Mate 18?كن مثقفاCommunity AnswerGo to Word, and acceuil in the list of tools, then go to write and choose Times New Roman 18.
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.Thanks
-
You can install fonts in Fedora, Red Hat, Linux Mint, and many other Linux distributions.Thanks