How To Install fonts-inconsolata on Debian 10

Learn how to install fonts-inconsolata on Debian 10 with this tutorial. fonts-inconsolata is monospace font for pretty code listings and for the terminal

Introduction

In this tutorial we learn how to install fonts-inconsolata on Debian 10.

What is fonts-inconsolata

fonts-inconsolata is:

Inconsolata is a monospace font, designed for code listings and the like, in print. There are a great many “programmer fonts,” designed primarily for use on the screen, but in most cases do not have the attention to detail for high resolution rendering.

The Fontforge .sfd and the Spiro .plate extended sources are available on the upstream website and in the source package. A Type1 version of the font is also available.

This is work in progress. It is released under the SIL Open Font License. Completion of this font is being generously sponsored by the TeX Users Group Development Fund. If you like this font and want to see more sponsored and released freely, please consider donating to TUG’s Libre Font Fund.

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

sudo apt-get -y install fonts-inconsolata

Install fonts-inconsolata Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fonts-inconsolata

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

sudo aptitude -y install fonts-inconsolata

How To Uninstall fonts-inconsolata on Debian 10

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

sudo apt-get remove fonts-inconsolata

Uninstall fonts-inconsolata And Its Dependencies

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

sudo apt-get -y autoremove fonts-inconsolata

Remove fonts-inconsolata Configurations and Data

To remove fonts-inconsolata configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge fonts-inconsolata

Remove fonts-inconsolata configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fonts-inconsolata

Dependencies

fonts-inconsolata have the following dependencies:

References

Summary

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