How To Install emacs-json-snatcher on Fedora 36

In this tutorial we learn how to install emacs-json-snatcher in Fedora 36. emacs-json-snatcher is Get the path to a JSON element in Emacs

Introduction

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

What is emacs-json-snatcher

Say you’re looking through a large JSON file, and see a value that you want to extract programmatically. This Emacs extension will allow you to snatch the path to this value.

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

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

sudo dnf -y install emacs-json-snatcher

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

sudo yum -y install emacs-json-snatcher

How To Uninstall emacs-json-snatcher on Fedora 36

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

sudo dnf remove emacs-json-snatcher

emacs-json-snatcher Package Contents on Fedora 36

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

References

Summary

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