How To Install mozjs68 on Fedora 36

In this tutorial we learn how to install mozjs68 in Fedora 36. mozjs68 is SpiderMonkey JavaScript library

Introduction

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

What is mozjs68

SpiderMonkey is the code-name for Mozilla Firefox’s C++ implementation of JavaScript. It is intended to be embedded in other applications that provide host environments for JavaScript.

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

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

sudo dnf -y install mozjs68

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

sudo yum -y install mozjs68

How To Uninstall mozjs68 on Fedora 36

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

sudo dnf remove mozjs68

mozjs68 Package Contents on Fedora 36

---
title: "How To Install mozjs68 on Fedora 36"
linkTitle: "mozjs68"
type: "docs"
description: "In this tutorial we learn how to install mozjs68 in Fedora 36. mozjs68 is SpiderMonkey JavaScript library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/mozjs68-featured.png
---

## Introduction

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

### What is `mozjs68`

> SpiderMonkey is the code-name for Mozilla Firefox's C++ implementation of JavaScript. It is intended to be embedded in other applications that provide host environments for JavaScript.  

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

## Install mozjs68 on Fedora 36 Using dnf
/usr/lib/.build-id
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/ad16228ccd9d991cd78afa7bdcb5dccc2b2d3a
/usr/lib/libmozjs-68.so.0
/usr/lib/libmozjs-68.so.0.0.0
/usr/share/doc/mozjs68
/usr/share/doc/mozjs68/README.html

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh


## References
After updating yum database, We can install `mozjs68` using `dnf` by running the following command:


```bash
* [mozjs68 website](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey)
sudo dnf -y install mozjs68

Summary

Install mozjs68 on Fedora 36 Using yum

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

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install mozjs68

How To Uninstall mozjs68 on Fedora 36

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

sudo dnf remove mozjs68

mozjs68 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/f10d274020821baa5960a6369ffd2e07cf8d59
/usr/lib64/libmozjs-68.so.0
/usr/lib64/libmozjs-68.so.0.0.0
/usr/share/doc/mozjs68
/usr/share/doc/mozjs68/README.html

References

Summary

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