htp command not found

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

Introduction

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

htp: command not found

or when using sudo you get the following error message

sudo: htp: command not found

Solutions to htp: command not found

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

In Ubuntu htp is provided by htp package.

htp is:

htp is an HTML pre-processor. It is designed to be a flexible authoring tool that can easily be integrated into the HTML design process.

It is able to preprocess HTML, XHTML, XML and CSS files (it could handle any text based files). Its purpose is to assist on maintaining a consistent look over an entire set of web pages. This is done by allowing someone to define their own tags as abbreviations for sets of standard HTML tags.

Those looking for a tool that allows handling HTML files with any text editor, not graphical based editors only, will find htp very helpful since it runs from the command-line to build the final HTML code that goes on the HTTP server.

Documentation and examples are included.

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

sudo apt-get -y install htp

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

You can also use apt command to install htp.

sudo apt -y install htp

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

sudo aptitude install htp

Summary

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