How To Install emacs-json-reformat on Fedora 36

In this tutorial we learn how to install emacs-json-reformat in Fedora 36. emacs-json-reformat is Reformatting tool for JSON

Introduction

In this tutorial we learn how to install emacs-json-reformat on Fedora 36.

What is emacs-json-reformat

json-reformat is a reformatting tool for JSON.

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

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

sudo dnf -y install emacs-json-reformat

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

sudo yum -y install emacs-json-reformat

How To Uninstall emacs-json-reformat on Fedora 36

To uninstall only the emacs-json-reformat package we can use the following command:

sudo dnf remove emacs-json-reformat

emacs-json-reformat Package Contents on Fedora 36

/usr/share/doc/emacs-json-reformat
/usr/share/doc/emacs-json-reformat/README.md
/usr/share/emacs/site-lisp/json-reformat
/usr/share/emacs/site-lisp/json-reformat/json-reformat.el
/usr/share/emacs/site-lisp/json-reformat/json-reformat.elc
/usr/share/emacs/site-lisp/site-start.d/json-reformat-init.el

References

Summary

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