How To Install emacs-magit on Fedora 36

In this tutorial we learn how to install emacs-magit in Fedora 36. emacs-magit is Emacs interface to the most common Git operations

Introduction

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

What is emacs-magit

Magit is an add-on package for GNU Emacs. It is an interface to the Git source-code management system that aims to make the most common operations convenient.

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

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

sudo dnf -y install emacs-magit

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

sudo yum -y install emacs-magit

How To Uninstall emacs-magit on Fedora 36

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

sudo dnf remove emacs-magit

emacs-magit Package Contents on Fedora 36

/usr/share/doc/emacs-magit
/usr/share/doc/emacs-magit/README.md
/usr/share/emacs/site-lisp/magit
/usr/share/emacs/site-lisp/magit/git-commit.el
/usr/share/emacs/site-lisp/magit/git-commit.elc
/usr/share/emacs/site-lisp/magit/git-rebase.el
/usr/share/emacs/site-lisp/magit/git-rebase.elc
/usr/share/emacs/site-lisp/magit/magit-apply.el
/usr/share/emacs/site-lisp/magit/magit-apply.elc
/usr/share/emacs/site-lisp/magit/magit-autoloads.el
/usr/share/emacs/site-lisp/magit/magit-autorevert.el
/usr/share/emacs/site-lisp/magit/magit-autorevert.elc
/usr/share/emacs/site-lisp/magit/magit-bisect.el
/usr/share/emacs/site-lisp/magit/magit-bisect.elc
/usr/share/emacs/site-lisp/magit/magit-blame.el
/usr/share/emacs/site-lisp/magit/magit-blame.elc
/usr/share/emacs/site-lisp/magit/magit-bookmark.el
/usr/share/emacs/site-lisp/magit/magit-bookmark.elc
/usr/share/emacs/site-lisp/magit/magit-branch.el
/usr/share/emacs/site-lisp/magit/magit-branch.elc
/usr/share/emacs/site-lisp/magit/magit-clone.el
/usr/share/emacs/site-lisp/magit/magit-clone.elc
/usr/share/emacs/site-lisp/magit/magit-commit.el
/usr/share/emacs/site-lisp/magit/magit-commit.elc
/usr/share/emacs/site-lisp/magit/magit-core.el
/usr/share/emacs/site-lisp/magit/magit-core.elc
/usr/share/emacs/site-lisp/magit/magit-diff.el
/usr/share/emacs/site-lisp/magit/magit-diff.elc
/usr/share/emacs/site-lisp/magit/magit-ediff.el
/usr/share/emacs/site-lisp/magit/magit-ediff.elc
/usr/share/emacs/site-lisp/magit/magit-extras.el
/usr/share/emacs/site-lisp/magit/magit-extras.elc
/usr/share/emacs/site-lisp/magit/magit-fetch.el
/usr/share/emacs/site-lisp/magit/magit-fetch.elc
/usr/share/emacs/site-lisp/magit/magit-files.el
/usr/share/emacs/site-lisp/magit/magit-files.elc
/usr/share/emacs/site-lisp/magit/magit-git.el
/usr/share/emacs/site-lisp/magit/magit-git.elc
/usr/share/emacs/site-lisp/magit/magit-gitignore.el
/usr/share/emacs/site-lisp/magit/magit-gitignore.elc
/usr/share/emacs/site-lisp/magit/magit-imenu.el
/usr/share/emacs/site-lisp/magit/magit-imenu.elc
/usr/share/emacs/site-lisp/magit/magit-log.el
/usr/share/emacs/site-lisp/magit/magit-log.elc
/usr/share/emacs/site-lisp/magit/magit-margin.el
/usr/share/emacs/site-lisp/magit/magit-margin.elc
/usr/share/emacs/site-lisp/magit/magit-merge.el
/usr/share/emacs/site-lisp/magit/magit-merge.elc
/usr/share/emacs/site-lisp/magit/magit-mode.el
/usr/share/emacs/site-lisp/magit/magit-mode.elc
/usr/share/emacs/site-lisp/magit/magit-notes.el
/usr/share/emacs/site-lisp/magit/magit-notes.elc
/usr/share/emacs/site-lisp/magit/magit-obsolete.el
/usr/share/emacs/site-lisp/magit/magit-obsolete.elc
/usr/share/emacs/site-lisp/magit/magit-patch.el
/usr/share/emacs/site-lisp/magit/magit-patch.elc
/usr/share/emacs/site-lisp/magit/magit-process.el
/usr/share/emacs/site-lisp/magit/magit-process.elc
/usr/share/emacs/site-lisp/magit/magit-pull.el
/usr/share/emacs/site-lisp/magit/magit-pull.elc
/usr/share/emacs/site-lisp/magit/magit-push.el
/usr/share/emacs/site-lisp/magit/magit-push.elc
/usr/share/emacs/site-lisp/magit/magit-reflog.el
/usr/share/emacs/site-lisp/magit/magit-reflog.elc
/usr/share/emacs/site-lisp/magit/magit-refs.el
/usr/share/emacs/site-lisp/magit/magit-refs.elc
/usr/share/emacs/site-lisp/magit/magit-remote.el
/usr/share/emacs/site-lisp/magit/magit-remote.elc
/usr/share/emacs/site-lisp/magit/magit-repos.el
/usr/share/emacs/site-lisp/magit/magit-repos.elc
/usr/share/emacs/site-lisp/magit/magit-reset.el
/usr/share/emacs/site-lisp/magit/magit-reset.elc
/usr/share/emacs/site-lisp/magit/magit-section.el
/usr/share/emacs/site-lisp/magit/magit-section.elc
/usr/share/emacs/site-lisp/magit/magit-sequence.el
/usr/share/emacs/site-lisp/magit/magit-sequence.elc
/usr/share/emacs/site-lisp/magit/magit-stash.el
/usr/share/emacs/site-lisp/magit/magit-stash.elc
/usr/share/emacs/site-lisp/magit/magit-status.el
/usr/share/emacs/site-lisp/magit/magit-status.elc
/usr/share/emacs/site-lisp/magit/magit-submodule.el
/usr/share/emacs/site-lisp/magit/magit-submodule.elc
/usr/share/emacs/site-lisp/magit/magit-subtree.el
/usr/share/emacs/site-lisp/magit/magit-subtree.elc
/usr/share/emacs/site-lisp/magit/magit-tag.el
/usr/share/emacs/site-lisp/magit/magit-tag.elc
/usr/share/emacs/site-lisp/magit/magit-transient.el
/usr/share/emacs/site-lisp/magit/magit-transient.elc
/usr/share/emacs/site-lisp/magit/magit-utils.el
/usr/share/emacs/site-lisp/magit/magit-utils.elc
/usr/share/emacs/site-lisp/magit/magit-version.el
/usr/share/emacs/site-lisp/magit/magit-wip.el
/usr/share/emacs/site-lisp/magit/magit-wip.elc
/usr/share/emacs/site-lisp/magit/magit-worktree.el
/usr/share/emacs/site-lisp/magit/magit-worktree.elc
/usr/share/emacs/site-lisp/magit/magit.el
/usr/share/emacs/site-lisp/magit/magit.elc
/usr/share/info/magit-section.info.gz
/usr/share/info/magit.info.gz
/usr/share/licenses/emacs-magit
/usr/share/licenses/emacs-magit/LICENSE

References

Summary

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