freetable command not found

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

Introduction

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

freetable: command not found

or when using sudo you get the following error message

sudo: freetable: command not found

Solutions to freetable: command not found

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

In Ubuntu freetable is provided by freetable package.

freetable is:

Freetable is a perl script that aims to make the production of HTML tables a little easier. This script works as a filter, reading stdin and writing to stdout.

The input syntax is as roughly follows:

   <wwwtable table-options...>
     initial text (e.g. <caption> ... </caption>).
     (X, Y) options for cell (X, Y)
     text for cell (X,Y)...
     ((X,Y)) options for header cell X,Y
     text for header cell (X,Y)...
   </wwwtable>

Rows and cells may be specified in any order, numbering starts at 1. X and/or Y may be replaced by regular expression, explicit range or even arbitrary Perl code to indicate rows or columns. Options or text (or both) may be omitted for cells. Cells may be omitted completely if they are empty or fall under the rowspan/colspan specifications of another cell. Cells may contain arbitrary HTML text, including other freetable tables.

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

sudo apt-get -y install freetable

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

You can also use apt command to install freetable.

sudo apt -y install freetable

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

sudo aptitude install freetable

Summary

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