How To Install shake on CentOS 7

In this tutorial we learn how to install shake on CentOS 7. shake is Make-like build system

Introduction

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

What is shake

Shake is a Haskell library for writing build systems - designed as a replacement for make. See “Development.Shake” for an introduction, including an example. Further examples are included in the Cabal tarball, under the Examples directory. The homepage contains links to a user manual, an academic paper and further information This package provides the shake tool which can handle most ninja files faster than ninja and simple makefiles.

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

Install shake on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install shake

Install shake 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 shake using dnf by running the following command:

sudo dnf -y install shake

How To Uninstall shake on CentOS 7

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

sudo dnf remove shake

References

Summary

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