fix_latin command not found

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

Introduction

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

fix_latin: command not found

or when using sudo you get the following error message

sudo: fix_latin: command not found

Solutions to fix_latin: command not found

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

In Ubuntu fix_latin is provided by libencoding-fixlatin-perl package.

libencoding-fixlatin-perl is:

Most encoding conversion tools take input in one encoding and produce output in another encoding. Encoding::FixLatin takes input which may contain characters in more than one encoding and makes a best effort to convert them all to UTF-8 output.

For string soups containing only ASCII, ISO8859-1 and CP1252 but no actual UTF-8 characters (even if encoded as such), Encode::ZapCP1252 may be better suitable.

Includes command-line tool fix_latin.

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

sudo apt-get -y install libencoding-fixlatin-perl

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

You can also use apt command to install libencoding-fixlatin-perl.

sudo apt -y install libencoding-fixlatin-perl

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

sudo aptitude install libencoding-fixlatin-perl

Summary

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