How to Manually Install Fonts in Ubuntu 16.04

May 20, 2016

Install Font Files in Ubuntu

Want to install Microsoft fonts or Google web fonts for off-line use, or you just found a favorite font on the web and want to install it in Ubuntu?

Well here’s how to install the font files (.ttf, .ttc) downloaded from web, Google fonts page, or copied from your Windows OS.

Font files

Here are 4 font files shown in the picture above. In the steps below I’ll show you how to install and use it in Ubuntu Desktop:

1. Launch Terminal from Unity Dash, or by pressing Ctrl+Alt+T on keyboard:


When it opens, paste following commands and run one by one.

2. In Ubuntu Linux, font files are installed to /usr/lib/share/fonts or /usr/share/fonts. The former directory is recommended in this case for manual installation.

First create a sub folder in the font directory, ms_fonts, as example:

sudo mkdir /usr/local/share/fonts/ms_fonts

Type in your password when it asks (no visual feedback) and hit Enter.

3. Move all font files from your Downloads directory to the new created folder:

sudo mv ~/Downloads/*.ttc ~/Downloads/*.ttf /usr/local/share/fonts/ms_fonts/

4. Set permissions to these files by running the commands below one by one:

sudo chown root:staff /usr/local/share/fonts/ms_fonts -R

sudo chmod 644 /usr/local/share/fonts/ms_fonts/* -R

sudo chmod 755 /usr/local/share/fonts/ms_fonts

5. Finally builds font information caches for apps using fontconfig for their font handling:

sudo fc-cache -fv

Now you can apply new installed fonts via Unity Tweak Tool:


For Chrome browser, go to Settings -> Advanced settings-> Web contents -> Customize fonts.

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to

10 responses to How to Manually Install Fonts in Ubuntu 16.04

  1. Or just use Typecatcher and download all the fonts you want with one click.

  2. Hey, like a lot of things, you can have your /home/$user/ directory keep that stuff safe through upgrades and reinstalls. Install all the fonts you want, in whatever directory structure you like in ~/.fonts/. This means you don’t need to use sudo, or even the Terminal, everything can be done through the GUI.

  3. Thanks this helped a lot with ubuntu 16.04

  4. It still doesnt help me a bit. I have wallibi holland font installed using the steps above but my java fx is not rendering it properly in ubuntu 16.04. In Ubuntu 14.04 even without installing the font on the OS side, just include it in the java classpath and load it on the background, it is working perfectly. But i need to move into 16.04. Any help would be much appreciated.

  5. Lianding Khuptong November 13, 2016 at 3:37 pm

    Well it’s not working for me. Is there any other way to install it??

  6. “font files are installed to /usr/lib/share/fonts or /usr/share/fonts. The former directory is recommended in this case for manual installation” why is this?

    “sudo mkdir /usr/local/share/fonts/ms_fonts”

    why did you put “local” between usr and share? which is this “font directory” you mentioned? and since as I’ve found “fonts” is already there inside the “share” folder, why create another folder? Is this just what you did to organize your MS fonts? Thanks

  7. “Now you can apply new installed fonts via Unity Tweak Tool:”

    there’s just a picture with no instructions. How do you “apply new installed fonts via Unity Tweak Tool”??

  8. As font viewer didn’t work on my ubuntu 16.04 LTS, I installed the “font manager” from here:

    Just follow the instructions to install it. Then right click on a font that you want to install, choose open with other application -> fontmanager, click install, and it worked.