ots-sanitize command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ots-sanitize: command not found
or when using sudo you get the following error message
sudo: ots-sanitize: command not found
Solutions to ots-sanitize: command not found
How To Fix ots-sanitize: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ots-sanitize is provided by opentype-sanitizer package.
opentype-sanitizer is:
The OpenType Sanitizer (OTS) parses and serializes OpenType files (OTF, TTF) and WOFF and WOFF2 font files, validating them and sanitizing them as it goes.
To fix this problem, we can install more using the command below.
sudo apt-get -y install opentype-sanitizer
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install opentype-sanitizer.
sudo apt -y install opentype-sanitizer
Or if you have aptitude installed you can use the following command.
sudo aptitude install opentype-sanitizer
Summary
In this tutorial we learn how to fix ots-sanitize command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.