htproxy command not found

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

Introduction

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

htproxy: command not found

or when using sudo you get the following error message

sudo: htproxy: command not found

Solutions to htproxy: command not found

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

In Ubuntu htproxy is provided by httest package.

httest is:

HTTP Test Tool is a script based tool for testing and benchmarking web applications, web servers, proxy servers and web browsers. htttest can emulate clients and servers even in the same test script. Emulating servers is a unique feature, very useful for testing proxy servers, web browsers and HTTP clients. The testing can match patterns in answers (both server(s) and client(s)) to test the validity.

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

sudo apt-get -y install httest

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

You can also use apt command to install httest.

sudo apt -y install httest

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

sudo aptitude install httest

Summary

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