How To Install emacs-filesystem.noarch on Amazon Linux 2

In this tutorial we learn how to install emacs-filesystem.noarch in Amazon Linux 2. emacs-filesystem.noarch is Emacs filesystem layout

Introduction

In this tutorial we learn how to install emacs-filesystem.noarch on Amazon Linux 2.

What is emacs-filesystem.noarch

This package provides some directories which are required by other packages that add functionality to Emacs.

We can use yum to install emacs-filesystem.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-filesystem.noarch.

Install emacs-filesystem.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install emacs-filesystem.noarch using yum by running the following command:

sudo yum -y install emacs-filesystem.noarch

How To Uninstall emacs-filesystem.noarch on Amazon Linux 2

To uninstall only the emacs-filesystem.noarch package we can use the following command:

sudo yum remove emacs-filesystem.noarch

emacs-filesystem.noarch Package Contents on Amazon Linux 2

/usr/share/emacs
/usr/share/emacs/site-lisp
/usr/share/emacs/site-lisp/site-start.d

References

Summary

In this tutorial we learn how to install emacs-filesystem.noarch on Amazon Linux 2 using yum.