mjr2pcap command not found

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

Introduction

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

mjr2pcap: command not found

or when using sudo you get the following error message

sudo: mjr2pcap: command not found

Solutions to mjr2pcap: command not found

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

In Ubuntu mjr2pcap is provided by janus-tools package.

janus-tools is:

janus is a general purpose WebRTC server/gateway with a minimal footprint.

This package contains the following helper tools:

  • janus-pp-rec - extract media file from a Janus recording
  • pcap2mjr - convert a pcap dump to a Janus recording
  • mjr2pcap - convert a Janus recording to pcap format

Packages gstreamer1.0-plugins-good gstreamer1.0-x are needed for included example streaming script.

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

sudo apt-get -y install janus-tools

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

You can also use apt command to install janus-tools.

sudo apt -y install janus-tools

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

sudo aptitude install janus-tools

Summary

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