How To Install emacs-json-mode on Fedora 36
Introduction
In this tutorial we learn how to install emacs-json-mode
on Fedora 36.
What is emacs-json-mode
Major mode for editing JSON files. Extends the builtin js-mode to add better syntax highlighting for JSON.
We can use yum
or dnf
to install emacs-json-mode
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-json-mode.
Install emacs-json-mode 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-mode
using dnf
by running the following command:
sudo dnf -y install emacs-json-mode
Install emacs-json-mode 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-mode
using yum
by running the following command:
sudo yum -y install emacs-json-mode
How To Uninstall emacs-json-mode on Fedora 36
To uninstall only the emacs-json-mode
package we can use the following command:
sudo dnf remove emacs-json-mode
emacs-json-mode Package Contents on Fedora 36
/usr/share/doc/emacs-json-mode
/usr/share/doc/emacs-json-mode/README.md
/usr/share/emacs/site-lisp/json-mode
/usr/share/emacs/site-lisp/json-mode/json-mode.el
/usr/share/emacs/site-lisp/json-mode/json-mode.elc
/usr/share/emacs/site-lisp/site-start.d/json-mode-init.el
References
Summary
In this tutorial we learn how to install emacs-json-mode
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).