darcs command not found

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

Introduction

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

darcs: command not found

or when using sudo you get the following error message

sudo: darcs: command not found

Solutions to darcs: command not found

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

In Ubuntu darcs is provided by darcs package.

darcs is:

Darcs is a free, open source revision control system. It is:

  • Distributed: Every user has access to the full command set, removing boundaries between server and client or committer and non-committers.
  • Interactive: Darcs is easy to learn and efficient to use because it asks you questions in response to simple commands, giving you choices in your work flow. You can choose to record one change in a file, while ignoring another. As you update from upstream, you can review each patch name, even the full “diff” for interesting patches.
  • Smart: Originally developed by physicist David Roundy, darcs is based on a unique algebra of patches. This smartness lets you respond to changing demands in ways that would otherwise not be possible.

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

sudo apt-get -y install darcs

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

You can also use apt command to install darcs.

sudo apt -y install darcs

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

sudo aptitude install darcs

Summary

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