How To Install emacs-undo-tree on Fedora 36

In this tutorial we learn how to install emacs-undo-tree in Fedora 36. emacs-undo-tree is Treats undo history as a tree of changes

Introduction

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

What is emacs-undo-tree

The undo-tree-mode provided by this package replaces Emacs’ undo system with a system that treats undo history as what it is simple idea allows the more intuitive behavior of the standard undo/redo system to be combined with the power of never losing any history. An added side bonus is that undo history can in some cases be stored more efficiently, allowing more changes to accumulate before Emacs starts discarding history. You don’t have to imagine the undo tree, because undo-tree-mode includes an undo-tree visualizer which draws it for you, and lets you browse around the undo history.

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

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

sudo dnf -y install emacs-undo-tree

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

sudo yum -y install emacs-undo-tree

How To Uninstall emacs-undo-tree on Fedora 36

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

sudo dnf remove emacs-undo-tree

emacs-undo-tree Package Contents on Fedora 36

/usr/share/emacs/site-lisp/undo-tree
/usr/share/emacs/site-lisp/undo-tree/undo-tree.el
/usr/share/emacs/site-lisp/undo-tree/undo-tree.elc

References

Summary

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