How To Install rubygem-coffee-script on Fedora 36

In this tutorial we learn how to install rubygem-coffee-script in Fedora 36. rubygem-coffee-script is Ruby CoffeeScript Compiler

Introduction

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

What is rubygem-coffee-script

Ruby CoffeeScript is a bridge to the JS CoffeeScript compiler.

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

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

sudo dnf -y install rubygem-coffee-script

Install rubygem-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 rubygem-coffee-script using yum by running the following command:

sudo yum -y install rubygem-coffee-script

How To Uninstall rubygem-coffee-script on Fedora 36

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

sudo dnf remove rubygem-coffee-script

rubygem-coffee-script Package Contents on Fedora 36

/usr/share/gems/gems/coffee-script-2.4.1
/usr/share/gems/gems/coffee-script-2.4.1/LICENSE
/usr/share/gems/gems/coffee-script-2.4.1/lib
/usr/share/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb
/usr/share/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb
/usr/share/gems/specifications/coffee-script-2.4.1.gemspec

References

Summary

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