utftrip command not found

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

Introduction

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

utftrip: command not found

or when using sudo you get the following error message

sudo: utftrip: command not found

Solutions to utftrip: command not found

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

In Ubuntu utftrip is provided by libuutf-ocaml-dev package.

libuutf-ocaml-dev is:

Uutf is an non-blocking streaming Unicode codec for OCaml to decode and encode the UTF-8, UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficiently work character by character without blocking on IO. Decoders perform character position tracking and support newline normalization.

Functions are also provided to fold over the characters of UTF encoded OCaml string values and to directly encode characters in OCaml Buffer.t values

This package contains the development modules you need to use Uutf in your programs and associated documentation.

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

sudo apt-get -y install libuutf-ocaml-dev

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

You can also use apt command to install libuutf-ocaml-dev.

sudo apt -y install libuutf-ocaml-dev

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

sudo aptitude install libuutf-ocaml-dev

Summary

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