How To Install fonts-fantasque-sans on Ubuntu 20.04

In this tutorial we learn how to install fonts-fantasque-sans on Ubuntu 20.04. fonts-fantasque-sans is monospaced font variant for programmers

Introduction

In this tutorial we learn how to install fonts-fantasque-sans on Ubuntu 20.04.

What is fonts-fantasque-sans

fonts-fantasque-sans is:

This package provides a programming font designed with functionality in mind, and with some wibbly-wobbly handwriting like fuzziness that makes it unassumingly cool.

This package provides truetype fonts along with woff and svg variants as webfonts along CSS required to use them.

There are three methods to install fonts-fantasque-sans 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 fonts-fantasque-sans Using apt-get

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

sudo apt-get update

After updating apt database, We can install fonts-fantasque-sans using apt-get by running the following command:

sudo apt-get -y install fonts-fantasque-sans

Install fonts-fantasque-sans Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fonts-fantasque-sans using apt by running the following command:

sudo apt -y install fonts-fantasque-sans

Install fonts-fantasque-sans 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 fonts-fantasque-sans using aptitude by running the following command:

sudo aptitude -y install fonts-fantasque-sans

How To Uninstall fonts-fantasque-sans on Ubuntu 20.04

To uninstall only the fonts-fantasque-sans package we can use the following command:

sudo apt-get remove fonts-fantasque-sans

Uninstall fonts-fantasque-sans And Its Dependencies

To uninstall fonts-fantasque-sans and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove fonts-fantasque-sans

Remove fonts-fantasque-sans Configurations and Data

To remove fonts-fantasque-sans configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge fonts-fantasque-sans

Remove fonts-fantasque-sans configuration, data, and all of its dependencies

We can use the following command to remove fonts-fantasque-sans configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fonts-fantasque-sans

References

Summary

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