How to install Microsoft fonts on Linux

in Categories: Fonts, Linux, Microsoft Fonts.


Here is how to install the Microsoft fonts on your Linux.

On Debian

Make sure that you have enabled the contrib and non-free repositories on the /etc/apt/sources.list .

deb http://deb.debian.org/debian/ bookworm main contrib non-free 
deb http://security.debian.org/debian-security bookworm-security main contrib non-free

You can replace the bookworm with your current version of Debian.

Install the fonts with the following commands,

sudo apt update
sudo apt install fonts-dejavu fonts-ubuntu fonts-liberation fonts-noto fonts-open-sans ttf-mscorefonts-installer

On Arch Linux

First make sure that you have AUR helper installed.

Check that your system is up to date

sudo pacman -Syu

Install the fonts with the following commands,

sudo pacman -S ttf-dejavu ttf-ubuntu-font-family ttf-liberation noto-fonts
yay -S ttf-ms-fonts ttf-opensans