gnome-font-viewer command not found

In this troubleshooting guide we learn how to fix gnome-font-viewer command not found error message

Introduction

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

gnome-font-viewer: command not found

or when using sudo you get the following error message

sudo: gnome-font-viewer: command not found

Solutions to gnome-font-viewer: command not found

How To Fix gnome-font-viewer: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gnome-font-viewer is provided by gnome-font-viewer package.

gnome-font-viewer is:

This program can preview fonts and create thumbnails for fonts.

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

sudo apt-get -y install gnome-font-viewer

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

You can also use apt command to install gnome-font-viewer.

sudo apt -y install gnome-font-viewer

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

sudo aptitude install gnome-font-viewer

Summary

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