How to Install Microsoft Fonts on Ubuntu 22.04 or 20.04

Ubuntu is a popular Linux operating system known for its ease of use and stability. One of the features that many users appreciate about Ubuntu is its ability to run a wide range of software, including Microsoft fonts. This article will show you how to install the “ttf-mscorefonts-installer” package, which contains a collection of Microsoft fonts, on your Ubuntu desktop.

Step 1: Update Ubuntu

Before installing the Microsoft Fonts package, ensure that your system is fully updated by running the following command in the terminal.

sudo apt update && sudo apt upgrade

Step 2: Install Microsoft Fonts

The “ttf-mscorefonts-installer” package, which includes a collection of popular Microsoft Fonts, is readily available in Ubuntu’s default repository. To begin the installation process, use the command “sudo apt install ttf-mscorefonts-installer” in the terminal. This command will instruct the system to download and install the package, providing you access to the Microsoft fonts on your Ubuntu system.

sudo apt install ttf-mscorefonts-installer

When you run the command to install the “ttf-mscorefonts-installer” package, you will be given a few prompts during the installation process. The first prompt will be for you to read and accept the Microsoft fonts’ End User License Agreement (EULA). It is important to take a moment to read through this agreement and ensure that you understand and agree to its terms before proceeding with the installation.


Press the TAB key, select <Ok>, and press the ENTER KEY to proceed.

After reading the EULA agreement, you will be prompted to accept the terms of the license. This prompt is a Yes or No button to confirm your acceptance. It is important to accept the EULA agreement before proceeding with the installation of the Microsoft Fonts package, as it is required to use the fonts. Failure to accept the EULA will prevent the installation from continuing.


agree to microsoft eula to install microsoft fonts on ubuntu 22.04 or 20.04 ltsPin

Press the TAB key, select <Ok>, and press the ENTER KEY to proceed.

Once the installation has been completed, you will see in your terminal the following output.


Upon completion of the installation process, you will see an output message in the terminal indicating that the Microsoft Fonts package has been installed successfully without any errors. This message confirms that the fonts are now properly installed on your system and ready for use in any program that supports TrueType fonts.

Step 3: Verify Microsoft Fonts

The output message in the terminal confirms that the Microsoft Fonts package has been successfully installed on your system. However, you may also want to verify this by checking the installed fonts through the Fonts application GUI. The Fonts application can be accessed by navigating to the following path.

Activities > Show Applications > Fonts.


By opening the Fonts application GUI as described earlier, you can view all of the installed fonts on your system, including the newly installed Microsoft fonts such as Arial, New Times Roman, and others. This will give you a visual representation of the fonts available on your system. Additionally, you can use a font manager application to check the installed Microsoft fonts. These applications allow you to view and organize all the fonts installed on your system, including the Microsoft fonts, making it easier to find and use the specific fonts you need.


It’s important to note that Microsoft fonts are proprietary, and you should only use them in compliance with the license agreement.

Additional Commands & Tips

Remove (Uninstall) Microsoft Fonts

If you no longer wish to have the Microsoft fonts on your system and want to remove them, you can use the following command in the terminal.

sudo apt autoremove ttf-mscorefonts-installer --purge

This command will remove the package “ttf-mscorefonts-installer” and all the Microsoft fonts installed.


In conclusion, installing Microsoft fonts on an Ubuntu desktop is a simple process that can be done using the “ttf-mscorefonts-installer” package. This package contains a collection of popular Microsoft fonts that can be used in any program that supports TrueType fonts, such as LibreOffice or OpenOffice. As always, be sure to comply with the license agreement of the fonts.

Share to...