Install Microsoft Fonts with Play on Linux

Refer: https://gist.github.com/ibrahimtuzlak0295/2a66981f99f25e08cb2039df53391b05

The Play on Linux Way

Normally the Microsoft Core Fonts can be installed like this:

  • Click Configure
  • Select the prefix where you want the fonts installed
  • Tab Install components
  • Select Microsoft Core Fonts from the list and click Install

Manually

However, if for some reason this doesn't install the fonts, it's still possible to do that manually. First install the ttf-mscorefonts-installer package:

sudo apt install ttf-mscorefonts-installer

Note the prefix name: ls ~/.PlayOnLinux/wineprefix

And replace yourprefix in the command with the one you want:

cp /usr/share/fonts/truetype/msttcorefonts/* ~/.PlayOnLinux/wineprefix/yourprefix/drive_c/windows/Fonts

Now we have the core fonts in place. We can remove the package:

sudo apt purge ttf-mscorefonts-installer

How To Install New Fonts In Ubuntu 14.04 and 16.04

Refer: https://itsfoss.com/install-fonts-ubuntu-1404-1410/

In Ubuntu Lite 3.0 - I installed Font-Manager but it might not be necessary but I opened the fonts after copying them into ~/.fonts

Ubuntu does come with a bunch of fonts installed by default in it. But at times you might not be satisfied with the available lots of fonts. So, what you can do is to install additional fonts in Ubuntu 14.04 and Ubuntu 16.04, or any other Linux system such as Linux Mint.

Step 1: Get fonts

First and foremost, download your choice of fonts. Now you might be thinking from where can you get new fonts. Don’t worry, a simple Google search will provide you with several websites that have new fonts available for free. You can start with fonts at Lost Type. Fonts Squirrel is also a good place to download fonts.

Step 2: Install new fonts in Ubuntu

The downloaded fonts might be in a zipped file. Extract it. Most of the fonts are either in TTF (TrueType Fonts) or in OTF (OpenType Fonts) format. Whichever it may be, just double click on the font file. It will open it in Font Viewer. In here, you can see the option to install the font in top right corner:

Install New fonts in Ubuntu 14.04Save

You won’t really see anything being installed as you see when installing a software. Couple of seconds later, you’ll see the status has been changed to Installed. No prizes for guessing that the font has been now installed.

Installing additional fonts in Ubuntu LinuxSave

Once installed, you can see the newly installed fonts in any application that uses fonts such as GIMP, Pinta etc.

Step 2: Install several fonts at once in Linux

No, it is not typo. This is still step 2 but just an alternative. The method we saw above to install fonts in Ubuntu is just fine. But there is a little issue with it. What happens when you have like 20 new fonts to install. Installing all these fonts, one by one, by double clicking on them is cumbersome and inconvenient. Don’t you think the same?

To install several fonts at once in Ubuntu, all you need to do is to create .fonts directory, if it doesn’t exist already, in your Home directory. And extract or copy paste all those TTF or OTF files in this directory.

Go to your Home directory in File manager. Press Ctrl+H to show hidden files in Ubuntu. Right click to make a new folder and name it .fonts. That dot at the beginning is important. In Linux, if you put dot ahead of the file name, it hides the file from normal view.

Alternative:

Alternatively, you can install Font Manager application and manage fonts in GUI. To install Font Manager in Ubuntu, open a terminal and use the command below:

sudo apt-get install font-manager
Open the Font Manager from Unity Dash. You can see installed fonts and option to install new fonts, remove existing fonts etc here.

font manager in Ubuntu 14.04

To remove Font Manager, use the command below:

sudo apt-get remove font-manager
I hope this quick helped you to install fonts in Ubuntu and other Linux systems. Do let me know if you have questions or suggestions.