remhost command not found

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

Introduction

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

remhost: command not found

or when using sudo you get the following error message

sudo: remhost: command not found

Solutions to remhost: command not found

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

In Ubuntu remhost is provided by dmucs package.

dmucs is:

DMUCS is a system that allows a group of users to share a compilation farm. Each compilation request from each user will be sent to the fastest available machine, every time. The system has these fine qualities:

  • Works with distcc, which need not be altered in any way.
  • Supports multiple operating systems in the compilation farm.
  • Uses all processors of a multi-processor compilation host.
  • Makes best use of compilation hosts with widely differing CPU speeds.
  • Takes into account the load on a host caused by non-compilation tasks.
  • Supports the dynamic addition and removal of hosts to the compilation farm.

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

sudo apt-get -y install dmucs

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

You can also use apt command to install dmucs.

sudo apt -y install dmucs

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

sudo aptitude install dmucs

Summary

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