How To Install mozilla-noscript on Rocky Linux 8

In this tutorial we learn how to install mozilla-noscript on Rocky Linux 8. mozilla-noscript is JavaScript white list extension for Mozilla Firefox

Introduction

In this tutorial we learn how to install mozilla-noscript on Rocky Linux 8.

What is mozilla-noscript

The NoScript extension provides extra protection for Firefox. It allows JavaScript, Java, Flash and other plug-ins to be executed only by trusted web sites of your choice (e.g. your online bank) and additionally provides Anti-XSS protection.

We can use yum or dnf to install mozilla-noscript on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mozilla-noscript.

Install mozilla-noscript on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install mozilla-noscript

Install mozilla-noscript on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install mozilla-noscript

How To Uninstall mozilla-noscript on Rocky Linux 8

To uninstall only the mozilla-noscript package we can use the following command:

sudo dnf remove mozilla-noscript

mozilla-noscript Package Contents on Rocky Linux 8

/usr/share/doc/mozilla-noscript
/usr/share/doc/mozilla-noscript/LICENSE.txt
/usr/share/licenses/mozilla-noscript
/usr/share/licenses/mozilla-noscript/GPL.txt
/usr/share/metainfo/mozilla-noscript.metainfo.xml
/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi

References

Summary

In this tutorial we learn how to install mozilla-noscript on Rocky Linux 8 using yum and dnf.