How To Install emacs-iedit on Fedora 36

In this tutorial we learn how to install emacs-iedit in Fedora 36. emacs-iedit is Edit multiple regions simultaneously in Emacs

Introduction

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

What is emacs-iedit

This package includes Emacs minor modes (iedit-mode and iedit-rectangle-mode) based on an API library (iedit-lib) and allows you to alter one occurrence of some text in a buffer (possibly narrowed) or region, and simultaneously have other occurrences changed in the same way, with visual feedback as you type. iedit-mode is a great alternative to built-in replace commands - A more intuitive way to alter all the occurrences at once - Visual feedback - Fewer keystrokes in most cases - Optionally preserve case

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

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

sudo dnf -y install emacs-iedit

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

sudo yum -y install emacs-iedit

How To Uninstall emacs-iedit on Fedora 36

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

sudo dnf remove emacs-iedit

emacs-iedit Package Contents on Fedora 36

/usr/share/doc/emacs-iedit
/usr/share/doc/emacs-iedit/README.org
/usr/share/doc/emacs-iedit/iedit-demo.gif
/usr/share/emacs/site-lisp/iedit
/usr/share/emacs/site-lisp/iedit/iedit-lib.el
/usr/share/emacs/site-lisp/iedit/iedit-lib.elc
/usr/share/emacs/site-lisp/iedit/iedit-rect.el
/usr/share/emacs/site-lisp/iedit/iedit-rect.elc
/usr/share/emacs/site-lisp/iedit/iedit-tests.el
/usr/share/emacs/site-lisp/iedit/iedit-tests.elc
/usr/share/emacs/site-lisp/iedit/iedit.el
/usr/share/emacs/site-lisp/iedit/iedit.elc
/usr/share/emacs/site-lisp/site-start.d/iedit-autoloads.el

References

Summary

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