How to install Microsoft fonts on Linux

Arial, Verdana and Times New Roman: whatever operating system you use, you’ve probably received documents which use these fonts. The default Windows font library has become so ubiquitous that you can’t go far online or in an enterprise without encountering one of its members.

Owing to the lack of open-source licenses, Microsoft typefaces can’t be included with Linux distributions. Although close-matching substitutes can be found out-of-the-box, sometimes you may encounter a website or document which renders poorly without the original font.

On many popular Linux distributions, you can obtain Microsoft fonts through your system’s package manager. We’re using apt on an Ubuntu/Debian-based machine; on other distributions, you may need to search your package manager to find the appropriate package.

The following command will download and install a collection of Microsoft fonts:

sudo apt install ttf-mscorefonts-installer

After the initial download, a set of license terms will appear in your terminal window. Acknowledge the install prompt by tabbing to the “OK” button and pressing enter; repeat on the next screen to select the “Yes” button and accept the EULA.