How To Install bdf2psf on Fedora 34

bdf2psf is Generate console fonts from BDF source fonts

Introduction

In this tutorial we learn how to install bdf2psf on Fedora 34.

What is bdf2psf

This package provides a command-line converter that can be used in scripts to build console fonts from BDF sources automatically. The converter comes with a collection of font encodings that cover many of the world’s languages. The output font can use a different character encoding from the input. When the source font does not define a glyph for a particular symbol in the encoding table, that glyph position in the console font is not wasted but used for another symbol.

We can use yum or dnf to install bdf2psf on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install bdf2psf.

Install bdf2psf on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install bdf2psf using dnf by running the following command:

sudo dnf -y install bdf2psf

Install bdf2psf on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install bdf2psf using yum by running the following command:

sudo yum -y install bdf2psf

How To Uninstall bdf2psf on Fedora 34

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

sudo dnf remove bdf2psf

bdf2psf Package Contents on Fedora 34

/usr/bin/bdf2psf
/usr/share/bdf2psf
/usr/share/bdf2psf/arabic.equivalents
/usr/share/bdf2psf/ascii.set
/usr/share/bdf2psf/fontsets
/usr/share/bdf2psf/fontsets/Arabic.512
/usr/share/bdf2psf/fontsets/Armenian.256
/usr/share/bdf2psf/fontsets/CyrAsia.256
/usr/share/bdf2psf/fontsets/CyrKoi.256
/usr/share/bdf2psf/fontsets/CyrSlav.256
/usr/share/bdf2psf/fontsets/Ethiopian.512
/usr/share/bdf2psf/fontsets/Georgian.256
/usr/share/bdf2psf/fontsets/Greek.256
/usr/share/bdf2psf/fontsets/Hebrew.256
/usr/share/bdf2psf/fontsets/Lao.256
/usr/share/bdf2psf/fontsets/Lat15.256
/usr/share/bdf2psf/fontsets/Lat2.256
/usr/share/bdf2psf/fontsets/Lat38.256
/usr/share/bdf2psf/fontsets/Lat7.256
/usr/share/bdf2psf/fontsets/Thai.256
/usr/share/bdf2psf/fontsets/Uni1.512
/usr/share/bdf2psf/fontsets/Uni2.512
/usr/share/bdf2psf/fontsets/Uni3.512
/usr/share/bdf2psf/fontsets/Vietnamese.512
/usr/share/bdf2psf/freebsd.set
/usr/share/bdf2psf/linux.set
/usr/share/bdf2psf/standard.equivalents
/usr/share/bdf2psf/useful.set
/usr/share/licenses/bdf2psf
/usr/share/licenses/bdf2psf/GPL-2
/usr/share/man/man1/bdf2psf.1.gz

References

Summary

In this tutorial we learn how to install bdf2psf on Fedora 34 using yum and dnf.