How To Install darcs on CentOS 7

In this tutorial we learn how to install darcs on CentOS 7. darcs is Distributed Advanced Revision Control System

Introduction

In this tutorial we learn how to install darcs on CentOS 7.

What is darcs

Darcs is a distributed, interactive, smart revision control system. Darcs is easy to learn and efficient to use because it asks you questions in response to simple commands, giving you choices in your workflow. You can choose to record one change in a file, while ignoring another. You can review each patch as you update from upstream. Originally developed by physicist David Roundy, darcs is based on a unique algebra of patches.

We can use yum or dnf to install darcs on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install darcs.

Install darcs on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install darcs using yum by running the following command:

sudo yum -y install darcs

Install darcs on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install darcs using dnf by running the following command:

sudo dnf -y install darcs

How To Uninstall darcs on CentOS 7

To uninstall only the darcs package we can use the following command:

sudo dnf remove darcs

References

Summary

In this tutorial we learn how to install darcs on CentOS 7 using yum and dnf.