When switching from Windows to Linux, there are several factors to consider. One crucial element is fonts. Most Linux distributions, such as Fedora, do not come with natively installed proprietary fonts, such as Microsoft Fonts. This is because most distributions focus on open-source for the most part. However, given many Windows users port over to Fedora, given that it is an upstream distribution that is well-known and popular, they may require these fonts to work with or prefer having them installed for their projects. Additionally, they may receive a PDF or word document with the windows specific fonts embedded in it as the substituted font does not look good and, in rare cases, makes the document hard to read.
The following tutorial will teach you how to install Microsoft Fonts on Fedora 37/36/35 Linux using the command line terminal downloading and installing the msttcore-fonts-installer. The process is relatively simple and only takes a few minutes. Once you have installed the Microsoft Fonts, you will be able to use them just as you would on any other operating system.
Recommended Steps Before Installation
Before you continue, your system is advised to ensure all existing packages are up to date to avoid system conflicts.
sudo dnf upgrade --refresh -y
Install Microsoft Fonts on Fedora Linux
The first task is to install the required packages; most of these should be automatically installed already.
sudo dnf install curl cabextract xorg-x11-font-utils fontconfig -y
With the required packages installed, you can now download and begin installing the Microsoft Core Fonts package.
sudo rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
Verify Microsoft Fonts on Fedora Linux
By default, fonts will be available in most applications now, but you can confirm by launching the fonts application.
Activities > Show Applications > Fonts.
Once opened, you can search for fonts to ensure that Microsoft fonts are installed, such as Arial, Calibri, Tahoma
Remove Microsoft Fonts on Fedora Linux
Use the following command to remove the fonts for users who no longer wish to have Microsoft fonts on their system.
sudo dnf autoremove msttcore-fonts-installer
This will remove in Microsoft fonts, re-open the fonts GUI, and you will find pretty quickly that the fonts are removed, with Arial typically being the first font on the list.