tpage command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tpage: command not found
or when using sudo you get the following error message
sudo: tpage: command not found
Solutions to tpage: command not found
How To Fix tpage: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tpage is provided by libtemplate-perl package.
libtemplate-perl is:
The Template Toolkit is a fast, powerful, flexible, and easily extensible template processing system written in Perl. It is ideally suited for (but not limited) to the creation of static and dynamic web content. It includes support for all standard templating directives and many additional features including output filtering, exception handling, macro definition, support for plugin objects, definition of template metadata, embedded Perl code, and much more.
This package contains the ’tpage’ and ’ttree’ executables which serve as simple, powerful tools in the creation of static content without any prerequisite knowledge of Perl. It also contains an extensive set of Perl modules ideally suited to act as a templating system in the dynamic creation of web content.
Excellent offline batch processing makes it ideal for generating non-web-based content including POD, LaTeX, PostScript, and plain text from source templates.
This package also includes Doug Steinwand’s high-speed drop-in replacement for Template::Stash written in Perl XS.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libtemplate-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libtemplate-perl.
sudo apt -y install libtemplate-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libtemplate-perl
Summary
In this tutorial we learn how to fix tpage command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.