sfnt2woff-zopfli command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sfnt2woff-zopfli: command not found
or when using sudo you get the following error message
sudo: sfnt2woff-zopfli: command not found
Solutions to sfnt2woff-zopfli: command not found
How To Fix sfnt2woff-zopfli: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sfnt2woff-zopfli is provided by sfnt2woff-zopfli package.
sfnt2woff-zopfli is:
This is a modified version of the sfnt2woff utility that uses Zopfli as a compression algorithm instead of zlib. This results in compression gains of, on average, 5-8% compared to regular WOFF files. Zopfli generates compressed output that is compatible with regular zlib compression so the resulting WOFF files can be used everywhere.
This package provides two tools:
- sfnt2woff-zopfli: convert OpenType fonts to WOFF
- woff2sfnt-zopfli: convert WOFF fonts to OpenType
To fix this problem, we can install more using the command below.
sudo apt-get -y install sfnt2woff-zopfli
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sfnt2woff-zopfli.
sudo apt -y install sfnt2woff-zopfli
Or if you have aptitude installed you can use the following command.
sudo aptitude install sfnt2woff-zopfli
Summary
In this tutorial we learn how to fix sfnt2woff-zopfli command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.