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

In this tutorial we learn how to install emacs-gettext.noarch in Amazon Linux 2. emacs-gettext.noarch is Support for editing po files within GNU Emacs

Introduction

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

What is emacs-gettext.noarch

This package provides a major mode for editing po files within GNU Emacs.

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

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

sudo yum -y install emacs-gettext.noarch

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

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

sudo yum remove emacs-gettext.noarch

emacs-gettext.noarch Package Contents on Amazon Linux 2

/usr/share/emacs/site-lisp/gettext
/usr/share/emacs/site-lisp/gettext/po-compat.el
/usr/share/emacs/site-lisp/gettext/po-compat.elc
/usr/share/emacs/site-lisp/gettext/po-mode.el
/usr/share/emacs/site-lisp/gettext/po-mode.elc
/usr/share/emacs/site-lisp/site-start.d/start-po.el

References

Summary

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