How To Install libfont-freetype-perl on Debian 11
Introduction
In this tutorial we learn how to install libfont-freetype-perl
on Debian 11.
What is libfont-freetype-perl
libfont-freetype-perl is:
Font::FreeType allows Perl programs to conveniently read information from font files. All the font access is done through the FreeType2 library, which supports many formats. It can render images of characters with high-quality hinting and antialiasing, extract metrics information, and extract the outlines of characters in scalable formats like TrueType.
There are three methods to install libfont-freetype-perl
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 libfont-freetype-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libfont-freetype-perl
using apt-get
by running the following command:
sudo apt-get -y install libfont-freetype-perl
Install libfont-freetype-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libfont-freetype-perl
using apt
by running the following command:
sudo apt -y install libfont-freetype-perl
Install libfont-freetype-perl 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 libfont-freetype-perl
using aptitude
by running the following command:
sudo aptitude -y install libfont-freetype-perl
How To Uninstall libfont-freetype-perl on Debian 11
To uninstall only the libfont-freetype-perl
package we can use the following command:
sudo apt-get remove libfont-freetype-perl
Uninstall libfont-freetype-perl And Its Dependencies
To uninstall libfont-freetype-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libfont-freetype-perl
Remove libfont-freetype-perl Configurations and Data
To remove libfont-freetype-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libfont-freetype-perl
Remove libfont-freetype-perl configuration, data, and all of its dependencies
We can use the following command to remove libfont-freetype-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libfont-freetype-perl
Dependencies
libfont-freetype-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libfont-freetype-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.