How to install Microsoft fonts on Ubuntu

Installing Microsoft fonts is simple through the terminal on Debian-based distributions.

Why are Microsoft fonts not installed?

Microsoft fonts like Times New Roman, Arial, etc. are not open source. Because of licensing issues, most linux distributions opt to exclude proprietary software.

Install Microsoft fonts using Terminal / CLI

Add the multiverse repository.

1
sudo add-apt-repository multiverse

Install ttf-mscorefonts-installer.

1
sudo apt update && sudo apt install ttf-mscorefonts-installer

When the EULA agreement appears, press tab and enter on <OK> then <Yes> on the “Do you accept the EULA license terms?” screen.

Refresh the font cache.

1
sudo fc-cache -f -v

If the EULA is mistakenly rejected, reinstall.

1
sudo apt install -reinstall ttf-mscorefonts-installer