How To Install ttf-anonymous-pro on Ubuntu 20.04

In this tutorial we learn how to install ttf-anonymous-pro on Ubuntu 20.04. ttf-anonymous-pro is fixed width sans serif font designed for coders

Introduction

In this tutorial we learn how to install ttf-anonymous-pro on Ubuntu 20.04.

What is ttf-anonymous-pro

ttf-anonymous-pro is:

Anonymous Pro (2009) is a family of four fixed-width fonts designed especially with coding in mind. Characters that could be mistaken for one another (O, 0, I, l, 1, etc.) have distinct shapes to make them easier to tell apart in the context of source code.

Anonymous Pro also features an international, Unicode-based character set, with support for most Western and European Latin-based languages, Greek, and Cyrillic. It also includes special “box drawing” characters for those who need them.

While Anonymous Pro looks great on Macs, Windows and Linux PCs with antialiasing enabled, it also includes embedded bitmaps for specific pixel sizes (“ppems” in font nerd speak) for both the regular and bold weight. (Since slanted bitmaps look pretty bad and hard to read at the supported sizes, it was chosen to use the upright bitmaps for the italics as well.) Bitmaps are included for these ppems: 10, 11, 12, and 13.

There are three methods to install ttf-anonymous-pro 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-anonymous-pro 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-anonymous-pro using apt-get by running the following command:

sudo apt-get -y install ttf-anonymous-pro

Install ttf-anonymous-pro Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ttf-anonymous-pro

Install ttf-anonymous-pro 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-anonymous-pro using aptitude by running the following command:

sudo aptitude -y install ttf-anonymous-pro

How To Uninstall ttf-anonymous-pro on Ubuntu 20.04

To uninstall only the ttf-anonymous-pro package we can use the following command:

sudo apt-get remove ttf-anonymous-pro

Uninstall ttf-anonymous-pro And Its Dependencies

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

sudo apt-get -y autoremove ttf-anonymous-pro

Remove ttf-anonymous-pro Configurations and Data

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

sudo apt-get -y purge ttf-anonymous-pro

Remove ttf-anonymous-pro configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ttf-anonymous-pro

References

Summary

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