htc command not found

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

Introduction

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

htc: command not found

or when using sudo you get the following error message

sudo: htc: command not found

Solutions to htc: command not found

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

In Ubuntu htc is provided by httptunnel package.

httptunnel is:

Creates a bidirectional virtual data stream tunnelled in HTTP requests. The requests can be sent via a HTTP proxy if so desired.

This can be useful for users behind restrictive firewalls. If WWW access is allowed through a HTTP proxy, it’s possible to use httptunnel and, say, telnet or PPP to connect to a computer outside the firewall.

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

sudo apt-get -y install httptunnel

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

You can also use apt command to install httptunnel.

sudo apt -y install httptunnel

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

sudo aptitude install httptunnel

Summary

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