How To Install python3-rjsmin on Fedora 36

In this tutorial we learn how to install python3-rjsmin in Fedora 36. python3-rjsmin is Javascript Minifier

Introduction

In this tutorial we learn how to install python3-rjsmin on Fedora 36.

What is python3-rjsmin

rJSmin is a javascript minifier written in python. The minifier is based on the semantics of jsmin.c by Douglas Crockford. The module is a re-implementation aiming for speed, so it can be used at runtime (rather than during a preprocessing step). Usually it produces the same results as the original jsmin.c.

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

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

sudo dnf -y install python3-rjsmin

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

sudo yum -y install python3-rjsmin

How To Uninstall python3-rjsmin on Fedora 36

To uninstall only the python3-rjsmin package we can use the following command:

sudo dnf remove python3-rjsmin

python3-rjsmin Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/7996a314175c9398d67c3bf0aeeebe55ce343d
/usr/lib64/python3.10/site-packages/__pycache__/rjsmin.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/rjsmin.cpython-310.pyc
/usr/lib64/python3.10/site-packages/_rjsmin.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/rjsmin-1.1.0-py3.10.egg-info
/usr/lib64/python3.10/site-packages/rjsmin-1.1.0-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/rjsmin-1.1.0-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/rjsmin-1.1.0-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/rjsmin-1.1.0-py3.10.egg-info/not-zip-safe
/usr/lib64/python3.10/site-packages/rjsmin-1.1.0-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/rjsmin.py
/usr/share/doc/python3-rjsmin
/usr/share/doc/python3-rjsmin/README.md
/usr/share/licenses/python3-rjsmin
/usr/share/licenses/python3-rjsmin/LICENSE

References

Summary

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