distcc-pump command not found

In this troubleshooting guide we learn how to fix distcc-pump command not found error message

Introduction

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

distcc-pump: command not found

or when using sudo you get the following error message

sudo: distcc-pump: command not found

Solutions to distcc-pump: command not found

How To Fix distcc-pump: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu distcc-pump is provided by distcc-pump package.

distcc-pump is:

distcc is a program to distribute compilation of C or C++ code across several machines on a network. distcc should always generate the same results as a local compile, is simple to install and use, and is often significantly faster than a local compile. distcc does not require all machines to share a filesystem, have synchronized clocks, or to have the same libraries or header files installed.

this package contains the necessary additions for distcc’s “pump” mode, which improves on plain distcc by distributing not only compilation but also preprocessing to distcc servers.

If you have more than 10 CPUs involved in your distcc setup, you should consider using this package on your distcc client machine.

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

sudo apt-get -y install distcc-pump

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

You can also use apt command to install distcc-pump.

sudo apt -y install distcc-pump

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

sudo aptitude install distcc-pump

Summary

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