woff2_info command not found

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

Introduction

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

woff2_info: command not found

or when using sudo you get the following error message

sudo: woff2_info: command not found

Solutions to woff2_info: command not found

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

In Ubuntu woff2_info is provided by woff2 package.

woff2 is:

woff2 is a library for converting fonts from the TTF format to the WOFF 2.0 format. The library also allows decompression from WOFF 2.0 to TTF.

The WOFF 2.0 format uses the Brotli compression algorithm to compress fonts suitable for use in CSS @font-face rules. WOFF 2.0 is a W3C Candidate Recommendation.

This package contains the woff2_compress, woff2_decompress, and woff2_info utilities.

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

sudo apt-get -y install woff2

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

You can also use apt command to install woff2.

sudo apt -y install woff2

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

sudo aptitude install woff2

Summary

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