How To Install ttf-unifont on Debian 10
Introduction
In this tutorial we learn how to install ttf-unifont
on Debian 10.
What is ttf-unifont
ttf-unifont is:
This contains four fonts: “Unifont”, “Unifont Upper”, “Unifont CSUR”, and “Unifont Sample”.
unifont.ttf is a bitmap font converted into a scalable TrueType 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.ttf is a bitmap font converted into a scalable TrueType 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.ttf is a bitmap font converted into a scalable TrueType 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_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 ttf-unifont
on Debian 10. 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-unifont 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-unifont
using apt-get
by running the following command:
sudo apt-get -y install ttf-unifont
Install ttf-unifont Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ttf-unifont
using apt
by running the following command:
sudo apt -y install ttf-unifont
Install ttf-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.
sudo aptitude update
After updating apt database, We can install ttf-unifont
using aptitude
by running the following command:
sudo aptitude -y install ttf-unifont
How To Uninstall ttf-unifont on Debian 10
To uninstall only the ttf-unifont
package we can use the following command:
sudo apt-get remove ttf-unifont
Uninstall ttf-unifont And Its Dependencies
To uninstall ttf-unifont
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove ttf-unifont
Remove ttf-unifont Configurations and Data
To remove ttf-unifont
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge ttf-unifont
Remove ttf-unifont configuration, data, and all of its dependencies
We can use the following command to remove ttf-unifont
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ttf-unifont
Dependencies
ttf-unifont have the following dependencies:
References
Summary
In this tutorial we learn how to install ttf-unifont
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.