raw2psf command not found

In this troubleshooting guide we learn how to fix raw2psf command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

raw2psf: command not found

or when using sudo you get the following error message

sudo: raw2psf: command not found

Solutions to raw2psf: command not found

How To Fix raw2psf: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu raw2psf is provided by console-cyrillic package.

console-cyrillic is:

This package provides Cyrillic support on the Linux console with great number of customizations:

  1. Various supported encodings: utf-8, cp1251, ibm866, iso-8859-5, koi8-r, koi8-u, mac-cyrillic, mik, pt154 and rk1048.

  2. Belarusian, two Bulgarian, two Kazakh, Macedonian, Mongolian, two Russian, Serbian and two Ukrainian keyboard mappings.

  3. Many screen fonts.

  4. Utilities: cyr, displayfont, dumppsf, makeacm, mkvgafont, raw2psf.

  5. Two fonts for Dosemu.

To fix this problem, we can install more using the command below.

sudo apt-get -y install console-cyrillic

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install console-cyrillic.

sudo apt -y install console-cyrillic

Or if you have aptitude installed you can use the following command.

sudo aptitude install console-cyrillic

Summary

In this tutorial we learn how to fix raw2psf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.