How To Install ghc-shakespeare-js on CentOS 7
Introduction
In this tutorial we learn how to install ghc-shakespeare-js
on CentOS 7.
What is ghc-shakespeare-js
Shakespeare is a template family for type-safe, efficient templates with simple variable interpolation. Shakespeare templates can be used inline with a quasi-quoter or in an external file. Shakespeare interpolates variables according to the type being inserted. In this case, the variable type needs a ToJavascript instance. shakespeare-javascript is also known as Julius, and passes through plain javascript. There is also a shakespeare version for CoffeeScript, TypeScript, and Roy, all languages that compile down to Javascript. They all expect you to have the appropriate compiler in your path. shakespeare originated from the hamlet template package. Please see http more thorough description and examples.
We can use yum
or dnf
to install ghc-shakespeare-js
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-shakespeare-js.
Install ghc-shakespeare-js on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install ghc-shakespeare-js
using yum
by running the following command:
Install ghc-shakespeare-js 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.
After updating yum database, We can install ghc-shakespeare-js
using dnf
by running the following command:
How To Uninstall ghc-shakespeare-js on CentOS 7
To uninstall only the ghc-shakespeare-js
package we can use the following command:
References
Summary
In this tutorial we learn how to install ghc-shakespeare-js
on CentOS 7 using yum
and dnf
.