jam.perforce command not found

In this troubleshooting guide we learn how to fix jam.perforce command not found error message

Introduction

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

jam.perforce: command not found

or when using sudo you get the following error message

sudo: jam.perforce: command not found

Solutions to jam.perforce: command not found

How To Fix jam.perforce: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu jam.perforce is provided by jam package.

jam is:

Perforce’s Jam (formerly called Jam/MR) is a powerful and highly customizable utility to build programs and other things, that can run on Un*x, Nt, VMS, OS/2 and Macintosh MPW, using portable Jamfiles. It can build large projects spread across many directories in one pass, and can run jobs in parallel where make would not.

It takes some time to fully grasp, especially when one’s already accustomed to make(1), but there’s no comparison in power when comparing these two tools.

Standard rules:

  • can automatically extract header dependencies for C/C++ (you can customize for you own language)
  • provide for automatic “clean”, “install”, “uninstall” rules, so that an automake-like tool is not needed

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

sudo apt-get -y install jam

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

You can also use apt command to install jam.

sudo apt -y install jam

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

sudo aptitude install jam

Summary

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