How To Install fonts-unifont on Debian 12
Introduction
In this tutorial we learn how to install fonts-unifont
on Debian 12.
What is fonts-unifont
fonts-unifont is:
This contains five fonts: “Unifont”, “Unifont Upper”, “Unifont CSUR”, “Unifont JP” and “Unifont Sample”.
unifont.otf is a bitmap font converted into a scalable OpenType outline font, Unifont. Each pixel in the original bitmap font is represented as an outlined square. The font provides a glyph for each visible code point (character) in the Unicode Basic Multilingual Plane (BMP, or Plane 0). The BMP contains most of the world’s modern writing scripts. This font looks best at 12pt.
unifont_upper.otf is a bitmap font converted into a scalable OpenType outline font that covers Unicode ranges above Plane 0. Most of its glyphs are in Plane 1, the Unicode Supplemental Multilingual Plane (SMP).
unifont_csur.otf is a bitmap font converted into a scalable OpenType outline font that contains some scripts in the ConScript Unicode Registry (CSUR). These scripts are not part of the Unicode Standard, but are a popular use for the Private Use Area (PUA). This font contains glyphs in Plane 0 and in the higher PUA planes.
unifont_jp.otf is a scalable OpenType outline font that contains Unicode Plane 2 glyphs that appear in JIS X 0213.
unifont_sample.ttf is an SBIT font that contains combining circles and is therefore suitable for illustrating individual Unicode glyphs. The other font files do not contain combining circles and so are suitable for general-purpose writing.
Complex fonts (such as Indic or Semitic scripts, where letters change shape depending on their position in a word, or such as Mongolian, which can be written vertically) will not render perfectly. The philosophy behind this font, though, is that anything meaningful is better than an empty box for an unknown glyph.
There are three methods to install fonts-unifont
on Debian 12. 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-unifont Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install fonts-unifont
using apt-get
by running the following command:
Install fonts-unifont Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install fonts-unifont
using apt
by running the following command:
Install fonts-unifont 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.
After updating apt database, We can install fonts-unifont
using aptitude
by running the following command:
How To Uninstall fonts-unifont on Debian 12
To uninstall only the fonts-unifont
package we can use the following command:
Uninstall fonts-unifont And Its Dependencies
To uninstall fonts-unifont
and its dependencies that are no longer needed by Debian 12, we can use the command below:
Remove fonts-unifont Configurations and Data
To remove fonts-unifont
configuration and data from Debian 12 we can use the following command:
Remove fonts-unifont configuration, data, and all of its dependencies
We can use the following command to remove fonts-unifont
configurations, data and all of its dependencies, we can use the following command:
Dependencies
fonts-unifont have the following dependencies:
References
Summary
In this tutorial we learn how to install fonts-unifont
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.