darcs-monitor command not found

In this troubleshooting guide we learn how to fix darcs-monitor command not found error message

Introduction

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

darcs-monitor: command not found

or when using sudo you get the following error message

sudo: darcs-monitor: command not found

Solutions to darcs-monitor: command not found

How To Fix darcs-monitor: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu darcs-monitor is provided by darcs-monitor package.

darcs-monitor is:

It is often desirable to send mail about new changes to software to a mailing list as soon as they are committed to a version control repository. Darcs-monitor adds this functionality to Darcs, an advanced revision control system.

Darcs-monitor is most commonly used as a Darcs apply post-hook, so that email is sent as soon as changes are pushed to the repository under monitoring.

Mails sent by darcs-monitor are configurable, and they can contain the diff of the changes, as well as change metadata.

You will need a mail transport agent (MTA) such as Exim in all but the most unusual situations.

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

sudo apt-get -y install darcs-monitor

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

You can also use apt command to install darcs-monitor.

sudo apt -y install darcs-monitor

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

sudo aptitude install darcs-monitor

Summary

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