Adding New Fonts to Your System

distrohopper
  14 years ago
  45

System-wide Installation

To install fonts to your system for use by all users, (as root) you can place the font files somewhere under /usr/share/fonts or /usr/share/fonts/truetype. Alternatively, if the fonts reside elsewhere on your system, as root, you can also link to the directory.

Method 1

gksu nautilus

* create /usr/share/fonts/truetype/

* copy font files to new location.

* then update your font cache.

sudo fc-cache -fv

Method 2

sudo ln -s /path/to/fontfiles /usr/share/fonts/fontfiles

* then update your font cache.

sudo fc-cache -fv

Per-user Installation

* in your home directory, create .fonts/

mkdir .fonts

* copy font files to the new location

* update your font cache

fc-cache -fv

*Alternatively, you can use the linking method (2) above.

Installing Microsoft Fonts

sudo apt-get install ttf-mscorefonts-installer

Comments
nintendo1889 2 years ago

The easiest way is to launch Font Manager, click the + , browse to the font folder, select all, and Open. Works in Mint Cinnamon 19.3


beitme 3 years ago

Hasn't gksu been deprecated?


drpeppercan 5 years ago

Also is good to know that now we have in the Software center a program called Font Manager ( http://fontmanager.github.io/ ) it does a great job! It couldn't be any easier.


rebelos 6 years ago

Thanks for this, is very useful.


banjoman 8 years ago

Great stuff - just added some Microsoft fonts I need for teaching to my Linux laptop - very useful and convenient.

I had to research how the Microsoft Fonts program worked and where the fonts were stored - this info could be added to this tutorial - all worked perfectly though - thanks so much.


skwaseem 9 years ago

Thanks I successfully installed some free fonts in 17.1 cinnamon using the 2nd method.


pierre_1999 10 years ago

Found it useful.


jahid_0903014 11 years ago

thanks for the useful tutorial


Odysseys 11 years ago

Than would take candy from a baby. Thank you for the tutorial.


waterchan 13 years ago

Here is an easy way to install Windows fonts. Note that the fonts will only be available for the user account that installed them.

1. Click Menu -> Computer, open your Windows partition, and navigate to the Fonts folder. On Windows 7 64-bit this is /Windows/Fonts

2. Select all the fonts you want to install by click-dragging or holding down Ctrl.

3. Right-click your selected fonts and click "Open With Font Viewer". Note: all the selected fonts will open in separate windows, possibly creating dozens of new windows.

4. In each window that opened, click Install Font. Done! Enjoy your Microsoft fonts on your favorite office software.


chris215 13 years ago

also, if you wish to download fonts from the internet, all you have to do is download the file and open it. Font files appear as *.TTF, usually compressed in a zip or tarball. When you open the font file there will be a button which says install, and violla! The font is installed. One of my favorite fonts is this one:
"http://www.fontcenter.com/fonts/zero_threes.html"

Font Center also has many other great fonts. This method also works in Ubuntu.


prativasic 13 years ago

"Alternatively, if the fonts reside elsewhere on your system, as root, you can also link to the directory." - How to do that???
Useful tutorial, thanks


Firoz_usf 13 years ago

Thanks for the tutorial


grim 13 years ago

Pretty useful, ty!


eerika_ 14 years ago

small howto, very useful, thanks

Erika


MrDaleR 14 years ago

Thanks for this useful howto. I am a long time fedora user and was not familiar with the MS installation


hamburn 14 years ago

thank you, with this tutorial I could install some fonts I like very much.
worked like a charm.


Alexio 14 years ago

This tutorial should be merged with the tutorial already published at http://community.linuxmint.com/tutorial/view/25