gtbl command not found

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

Introduction

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

gtbl: command not found

or when using sudo you get the following error message

sudo: gtbl: command not found

Solutions to gtbl: command not found

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

In Ubuntu gtbl is provided by groff-base package.

groff-base is:

This package contains the traditional UN*X text formatting tools troff, nroff, tbl, eqn, and pic. These utilities, together with the man-db package, are essential for displaying the on-line manual pages.

groff-base is a stripped-down package containing the necessary components to read manual pages in ASCII, Latin-1, and UTF-8, plus the PostScript device (groff’s default). Users who want a full groff installation, with the standard set of devices, fonts, macros, and documentation, should install the groff package.

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

sudo apt-get -y install groff-base

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

You can also use apt command to install groff-base.

sudo apt -y install groff-base

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

sudo aptitude install groff-base

Summary

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