How To Install fonts-font-awesome on Debian 11

In this tutorial we learn how to install fonts-font-awesome on Debian 11. fonts-font-awesome is iconic font designed for use with Twitter Bootstrap

Introduction

In this tutorial we learn how to install fonts-font-awesome on Debian 11.

What is fonts-font-awesome

fonts-font-awesome is:

This font contains about 249 various icon glyphs. Glyphs are designed as scalable vector graphics hence display very well at any screen size. This font was basically designed to be used with the Twitter bootstrap library but can be used in other places also.

This package also provides Sass and LESS files to use webfonts from this package.

Please note that this package provides Font Awesome 4 (not Font Awesome 5 or Font Awesome 6 which are different fonts with different licensing).

There are three methods to install fonts-font-awesome on Debian 11. 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-font-awesome 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-font-awesome using apt-get by running the following command:

sudo apt-get -y install fonts-font-awesome

Install fonts-font-awesome Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fonts-font-awesome

Install fonts-font-awesome 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install fonts-font-awesome using aptitude by running the following command:

sudo aptitude -y install fonts-font-awesome

How To Uninstall fonts-font-awesome on Debian 11

To uninstall only the fonts-font-awesome package we can use the following command:

sudo apt-get remove fonts-font-awesome

Uninstall fonts-font-awesome And Its Dependencies

To uninstall fonts-font-awesome and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove fonts-font-awesome

Remove fonts-font-awesome Configurations and Data

To remove fonts-font-awesome configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge fonts-font-awesome

Remove fonts-font-awesome configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fonts-font-awesome

Dependencies

fonts-font-awesome have the following dependencies:

References

Summary

In this tutorial we learn how to install fonts-font-awesome package on Debian 11 using different package management tools: apt, apt-get and aptitude.