prov-compare command not found

In this troubleshooting guide we learn how to fix prov-compare command not found error message

Introduction

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

prov-compare: command not found

or when using sudo you get the following error message

sudo: prov-compare: command not found

Solutions to prov-compare: command not found

How To Fix prov-compare: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu prov-compare is provided by prov-tools package.

prov-tools is:

A library for W3C Provenance Data Model supporting PROV-JSON and PROV-XML import/export.

Features:

  • An implementation of the W3C PROV Data Model in Python.
  • In-memory classes for PROV assertions, which can then be output as PROV-N.
  • Serialization and deserializtion support: PROV-JSON and PROV-XML.
  • Exporting PROV documents into various graphical formats (e.g. PDF, PNG, SVG).

This package provides the command-line tools.

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

sudo apt-get -y install prov-tools

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

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

sudo apt -y install prov-tools

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

sudo aptitude install prov-tools

Summary

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