lsdistcc command not found

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

Introduction

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

lsdistcc: command not found

or when using sudo you get the following error message

sudo: lsdistcc: command not found

Solutions to lsdistcc: command not found

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

In Ubuntu lsdistcc is provided by distcc package.

distcc 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.

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

sudo apt-get -y install distcc

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

You can also use apt command to install distcc.

sudo apt -y install distcc

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

sudo aptitude install distcc

Summary

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