gftools-list-weightclass command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gftools-list-weightclass: command not found
or when using sudo you get the following error message
sudo: gftools-list-weightclass: command not found
Solutions to gftools-list-weightclass: command not found
How To Fix gftools-list-weightclass: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gftools-list-weightclass is provided by gftools package.
gftools is:
This project contains tools used for working with the Google Fonts collection, plus Google Fonts Glyph Set Documentation in the /encodings subdirectory. While these tools are primarily intended for contributors to the Google Fonts project, anyone who works with fonts could find them useful.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gftools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gftools.
sudo apt -y install gftools
Or if you have aptitude installed you can use the following command.
sudo aptitude install gftools
Summary
In this tutorial we learn how to fix gftools-list-weightclass command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.