How To Install cjs on Fedora 36

In this tutorial we learn how to install cjs in Fedora 36. cjs is Javascript Bindings for Cinnamon

Introduction

In this tutorial we learn how to install cjs on Fedora 36.

What is cjs

Cjs allows using Cinnamon libraries from Javascript. It’s based on the Spidermonkey Javascript engine from Mozilla and the GObject introspection framework.

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

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

sudo dnf -y install cjs

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

sudo yum -y install cjs

How To Uninstall cjs on Fedora 36

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

sudo dnf remove cjs

cjs Package Contents on Fedora 36

/usr/bin/cjs
/usr/bin/cjs-console
/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/2637df2f14a90b8c068c1344183511634d6d82
/usr/lib/.build-id/81
/usr/lib/.build-id/81/6fcd983ef041d5ea688ecb09987e9afa92abfb
/usr/lib64/cjs
/usr/lib64/cjs/girepository-1.0
/usr/lib64/cjs/girepository-1.0/CjsPrivate-1.0.typelib
/usr/lib64/libcjs.so.0
/usr/lib64/libcjs.so.0.0.0
/usr/share/doc/cjs
/usr/share/doc/cjs/NEWS
/usr/share/doc/cjs/README
/usr/share/licenses/cjs
/usr/share/licenses/cjs/COPYING
/usr/share/licenses/cjs/COPYING.LGPL

References

Summary

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