How To Install aglfn on Ubuntu 22.04

In this tutorial we learn how to install aglfn on Ubuntu 22.04. aglfn is Adobe Glyph List For New Fonts

Introduction

In this tutorial we learn how to install aglfn on Ubuntu 22.04.

What is aglfn

aglfn is:

AGL (Adobe Glyph List) maps glyph names to Unicode values for the purpose of deriving content. AGLFN (Adobe Glyph List For New Fonts) is a subset of AGL that excludes the glyph names associated with the PUA (Private Use Area), and is meant to specify preferred glyph names for new fonts. Also included is the ITC Zapf Dingbats Glyph List, which is similar to AGL in that it maps glyph names to Unicode values for the purpose of deriving content, but only for the glyphs in the ITC Zapf Dingbats font.

Be sure to visit the AGL Specification and Developer Documentation pages for detailed information about naming glyphs, interpreting glyph names, and developing OpenType fonts.

There are three methods to install aglfn on Ubuntu 22.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 aglfn Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install aglfn

Install aglfn Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install aglfn using apt by running the following command:

sudo apt -y install aglfn

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

sudo aptitude -y install aglfn

How To Uninstall aglfn on Ubuntu 22.04

To uninstall only the aglfn package we can use the following command:

sudo apt-get remove aglfn

Uninstall aglfn And Its Dependencies

To uninstall aglfn and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove aglfn

Remove aglfn Configurations and Data

To remove aglfn configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge aglfn

Remove aglfn configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge aglfn

References

Summary

In this tutorial we learn how to install aglfn package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.