fastjet-config command not found

In this troubleshooting guide we learn how to fix fastjet-config command not found error message

Introduction

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

fastjet-config: command not found

or when using sudo you get the following error message

sudo: fastjet-config: command not found

Solutions to fastjet-config: command not found

How To Fix fastjet-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fastjet-config is provided by libfastjet-dev package.

libfastjet-dev is:

The FastJet package provides a fast implementation of several longitudinally invariant sequential recombination jet algorithms, in particular the longitudinally invariant kt jet algorithm, the inclusive longitudinally invariant version of the Cambridge/Aachen jet-algorithm, and the inclusive anti-kt algorithm.

FastJet also provides a uniform interface to external jet finders via a plugin mechanism, and tools for calculating jet areas and performing background (pileup/UE) subtraction.

This package provides development files of FastJet.

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

sudo apt-get -y install libfastjet-dev

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

You can also use apt command to install libfastjet-dev.

sudo apt -y install libfastjet-dev

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

sudo aptitude install libfastjet-dev

Summary

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