How To Install ttf-mscorefonts-installer on Ubuntu 20.04

In this tutorial we learn how to install ttf-mscorefonts-installer on Ubuntu 20.04. ttf-mscorefonts-installer is Installer for Microsoft TrueType core fonts

Introduction

In this tutorial we learn how to install ttf-mscorefonts-installer on Ubuntu 20.04.

What is ttf-mscorefonts-installer

ttf-mscorefonts-installer is:

This package allows for easy installation of the Microsoft True Type Core Fonts for the Web including:

Andale Mono Arial Black Arial (Bold, Italic, Bold Italic) Comic Sans MS (Bold) Courier New (Bold, Italic, Bold Italic) Georgia (Bold, Italic, Bold Italic) Impact Times New Roman (Bold, Italic, Bold Italic) Trebuchet (Bold, Italic, Bold Italic) Verdana (Bold, Italic, Bold Italic) Webdings

You will need an Internet connection to download these fonts if you don’t already have them.

NOTE: the package fonts-liberation contains free variants of the Times, Arial and Courier fonts. It’s better to use those instead unless you specifically need one of the other fonts from this package.

There are three methods to install ttf-mscorefonts-installer on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ttf-mscorefonts-installer Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ttf-mscorefonts-installer using apt-get by running the following command:

sudo apt-get -y install ttf-mscorefonts-installer

Install ttf-mscorefonts-installer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ttf-mscorefonts-installer using apt by running the following command:

sudo apt -y install ttf-mscorefonts-installer

Install ttf-mscorefonts-installer Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ttf-mscorefonts-installer using aptitude by running the following command:

sudo aptitude -y install ttf-mscorefonts-installer

How To Uninstall ttf-mscorefonts-installer on Ubuntu 20.04

To uninstall only the ttf-mscorefonts-installer package we can use the following command:

sudo apt-get remove ttf-mscorefonts-installer

Uninstall ttf-mscorefonts-installer And Its Dependencies

To uninstall ttf-mscorefonts-installer and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove ttf-mscorefonts-installer

Remove ttf-mscorefonts-installer Configurations and Data

To remove ttf-mscorefonts-installer configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ttf-mscorefonts-installer

Remove ttf-mscorefonts-installer configuration, data, and all of its dependencies

We can use the following command to remove ttf-mscorefonts-installer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ttf-mscorefonts-installer

References

Summary

In this tutorial we learn how to install ttf-mscorefonts-installer package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.