httprecorder command not found

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

Introduction

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

httprecorder: command not found

or when using sudo you get the following error message

sudo: httprecorder: command not found

Solutions to httprecorder: command not found

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

In Ubuntu httprecorder is provided by libhttp-recorder-perl package.

libhttp-recorder-perl is:

HTTP::Recorder allows your Perl program to record the interaction with websites (SSL and non-SSL). It acts as a proxy agent for HTTP::Proxy, rewriting HTTP requests and responses while recording the interaction in a script suitable for WWW::Mechanize. If a JavaScript-enabled browser is being used, the script can be examined and modified as it is being recorded.

Since version 0.06, libhttp-recorder-perl includes a script httprecorder to quickly set up a proxy and start recording traffic.

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

sudo apt-get -y install libhttp-recorder-perl

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

You can also use apt command to install libhttp-recorder-perl.

sudo apt -y install libhttp-recorder-perl

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

sudo aptitude install libhttp-recorder-perl

Summary

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