hb-ot-shape-closure command not found

In this troubleshooting guide we learn how to fix hb-ot-shape-closure command not found error message

Introduction

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

hb-ot-shape-closure: command not found

or when using sudo you get the following error message

sudo: hb-ot-shape-closure: command not found

Solutions to hb-ot-shape-closure: command not found

How To Fix hb-ot-shape-closure: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu hb-ot-shape-closure is provided by libharfbuzz-bin package.

libharfbuzz-bin is:

HarfBuzz is an implementation of the OpenType Layout engine (aka layout engine) and the script-specific logic (aka shaping engine).

This package contains a command line interface for the HarfBuzz library.

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

sudo apt-get -y install libharfbuzz-bin

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

You can also use apt command to install libharfbuzz-bin.

sudo apt -y install libharfbuzz-bin

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

sudo aptitude install libharfbuzz-bin

Summary

In this tutorial we learn how to fix hb-ot-shape-closure command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.