How To Install emacs-lua on Fedora 36

In this tutorial we learn how to install emacs-lua in Fedora 36. emacs-lua is Lua major mode for GNU Emacs

Introduction

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

What is emacs-lua

A GNU Emacs major mode for editing Lua code.

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

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

sudo dnf -y install emacs-lua

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

sudo yum -y install emacs-lua

How To Uninstall emacs-lua on Fedora 36

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

sudo dnf remove emacs-lua

emacs-lua Package Contents on Fedora 36

/usr/share/doc/emacs-lua
/usr/share/doc/emacs-lua/NEWS
/usr/share/doc/emacs-lua/README.md
/usr/share/emacs/site-lisp/lua
/usr/share/emacs/site-lisp/lua/lua-mode.el
/usr/share/emacs/site-lisp/lua/lua-mode.elc
/usr/share/emacs/site-lisp/site-start.d/lua-init.el
/usr/share/licenses/emacs-lua
/usr/share/licenses/emacs-lua/COPYING

References

Summary

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