How To Install libotf-dev on Debian 11
Introduction
In this tutorial we learn how to install libotf-dev
on Debian 11.
What is libotf-dev
libotf-dev is:
The libotf library provides the following facilities:
- Read Open Type Layout Tables from OTF file. Currently these tables are supported; head, name, cmap, GDEF, GSUB, and GPOS.
- Convert a Unicode character sequence to a glyph code sequence by using the above tables.
The combination of libotf and the FreeType library (Ver.2) realizes CTL (complex text layout) by OpenType fonts.
This package contains the header and development files needed to build programs and packages using libotf.
There are three methods to install libotf-dev
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 libotf-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libotf-dev
using apt-get
by running the following command:
sudo apt-get -y install libotf-dev
Install libotf-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libotf-dev
using apt
by running the following command:
sudo apt -y install libotf-dev
Install libotf-dev 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 libotf-dev
using aptitude
by running the following command:
sudo aptitude -y install libotf-dev
How To Uninstall libotf-dev on Debian 11
To uninstall only the libotf-dev
package we can use the following command:
sudo apt-get remove libotf-dev
Uninstall libotf-dev And Its Dependencies
To uninstall libotf-dev
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libotf-dev
Remove libotf-dev Configurations and Data
To remove libotf-dev
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libotf-dev
Remove libotf-dev configuration, data, and all of its dependencies
We can use the following command to remove libotf-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libotf-dev
Dependencies
libotf-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libotf-dev
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.