How To Install cjs on Fedora 34

cjs is Javascript Bindings for Cinnamon Javascript Bindings for Cinnamon

Introduction

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

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. cjs 1 5.0.0 2.fc34 x86_64 379 k cjs-5.0.0-2.fc34.src.rpm updates Javascript Bindings for Cinnamon https MIT and (MPLv1.1 or GPLv2+ or LGPLv2+) 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install cjs.

Install cjs on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install cjs

Install cjs on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove cjs

cjs Package Contents on Fedora 34

/usr/bin/cjs
/usr/bin/cjs-console
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/38c825c8d6bd705123d37c4005f355de46b6ab
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/e35cd60e8d1f85e870645daed6772bc7df824e
/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
/usr/bin/cjs
/usr/bin/cjs-console
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/7aaa5a8e9c22b52ad766c31f975ca11b147378
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/2d6005d0c5d4651d7e9cd5c21ef6318e26f9b3
/usr/lib/cjs
/usr/lib/cjs/girepository-1.0
/usr/lib/cjs/girepository-1.0/CjsPrivate-1.0.typelib
/usr/lib/libcjs.so.0
/usr/lib/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
/usr/bin/cjs
/usr/bin/cjs-console
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/8f859a3ffa7751150c3b288cbaecff984a0aae
/usr/lib/.build-id/89
/usr/lib/.build-id/89/3b96eecabe31b83255cf5b0e9a52bc28e269c3
/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
/usr/bin/cjs
/usr/bin/cjs-console
/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/7c706f46598a6712ee583302ec97ba8fc4bc44
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/ec0de7b117318a06c37ec84745bd56b2687ede
/usr/lib/cjs
/usr/lib/cjs/girepository-1.0
/usr/lib/cjs/girepository-1.0/CjsPrivate-1.0.typelib
/usr/lib/libcjs.so.0
/usr/lib/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 34 using yum and dnf.