cpbm command not found

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

Introduction

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

cpbm: command not found

or when using sudo you get the following error message

sudo: cpbm: command not found

Solutions to cpbm: command not found

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

In Ubuntu cpbm is provided by bmt package.

bmt is:

The benchmarking toolkit consists of three main components:

  • Patch set management tools to track changes over the original source of a set of benchmarks;
  • Benchmark execution helpers to prepare benchmarks for various tools, run benchmarks in parallel, and limit execution;
  • Result evaluation and presentation, generating LaTeX tables, HTML output, and LaTeX/TikZ plots.

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

sudo apt-get -y install bmt

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

You can also use apt command to install bmt.

sudo apt -y install bmt

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

sudo aptitude install bmt

Summary

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