How To Install coffee-script on Fedora 36

In this tutorial we learn how to install coffee-script in Fedora 36. coffee-script is A programming language that transcompiles to JavaScript

Introduction

In this tutorial we learn how to install coffee-script on Fedora 36.

What is coffee-script

CoffeeScript is a little language that compiles into JavaScript. Underneath all of those embarrassing braces and semicolons, JavaScript has always had a gorgeous object model at its heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way. The golden rule of CoffeeScript is one-to-one into the equivalent JS, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly (and vice-versa). The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript.

We can use yum or dnf to install coffee-script on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install coffee-script.

Install coffee-script on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install coffee-script

Install coffee-script on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install coffee-script using yum by running the following command:

sudo yum -y install coffee-script

How To Uninstall coffee-script on Fedora 36

To uninstall only the coffee-script package we can use the following command:

sudo dnf remove coffee-script

coffee-script Package Contents on Fedora 36

/usr/bin/cake
/usr/bin/coffee
/usr/lib/node_modules/coffee-script
/usr/lib/node_modules/coffee-script/bin
/usr/lib/node_modules/coffee-script/bin/cake
/usr/lib/node_modules/coffee-script/bin/coffee
/usr/lib/node_modules/coffee-script/extras
/usr/lib/node_modules/coffee-script/lib
/usr/lib/node_modules/coffee-script/lib/coffee-script
/usr/lib/node_modules/coffee-script/lib/coffee-script/browser.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/cake.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/grammar.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/helpers.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/index.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/lexer.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/nodes.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/optparse.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/parser.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/register.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/repl.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/rewriter.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/scope.js
/usr/lib/node_modules/coffee-script/lib/coffee-script/sourcemap.js
/usr/lib/node_modules/coffee-script/package.json
/usr/lib/node_modules/coffee-script/register.js
/usr/lib/node_modules/coffee-script/repl.js

References

Summary

In this tutorial we learn how to install coffee-script on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).