How To Install xfonts-terminus-dos on Kali Linux

In this tutorial we learn how to install xfonts-terminus-dos on Kali Linux. xfonts-terminus-dos is Fixed-width fonts for DOS encodings

Introduction

In this tutorial we learn how to install xfonts-terminus-dos on Kali Linux.

What is xfonts-terminus-dos

xfonts-terminus-dos is:

These are nice fixed-width fonts in various DOS encodings. They are mostly suitable for use in Dosemu, but can be used also in terminals, editors, etc.

This package supports the following code-pages: CP437, CP850, CP852, CP855, CP860, CP863, CP865, CP866, MIK and RUSCII.

There are three methods to install xfonts-terminus-dos on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install xfonts-terminus-dos Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install xfonts-terminus-dos using apt-get by running the following command:

sudo apt-get -y install xfonts-terminus-dos

Install xfonts-terminus-dos Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xfonts-terminus-dos using apt by running the following command:

sudo apt -y install xfonts-terminus-dos

Install xfonts-terminus-dos Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install xfonts-terminus-dos using aptitude by running the following command:

sudo aptitude -y install xfonts-terminus-dos

How To Uninstall xfonts-terminus-dos on Kali Linux

To uninstall only the xfonts-terminus-dos package we can use the following command:

sudo apt-get remove xfonts-terminus-dos

Uninstall xfonts-terminus-dos And Its Dependencies

To uninstall xfonts-terminus-dos and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove xfonts-terminus-dos

Remove xfonts-terminus-dos Configurations and Data

To remove xfonts-terminus-dos configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge xfonts-terminus-dos

Remove xfonts-terminus-dos configuration, data, and all of its dependencies

We can use the following command to remove xfonts-terminus-dos configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xfonts-terminus-dos

Dependencies

xfonts-terminus-dos have the following dependencies:

References

Summary

In this tutorial we learn how to install xfonts-terminus-dos package on Kali Linux using different package management tools: apt, apt-get and aptitude.