How To Install babel.noarch on Amazon Linux 2

In this tutorial we learn how to install babel.noarch in Amazon Linux 2. babel.noarch is Tools for internationalizing Python applications

Introduction

In this tutorial we learn how to install babel.noarch on Amazon Linux 2.

What is babel.noarch

Babel is composed of two major parts * tools to build and work with gettext message catalogs * a Python interface to the CLDR (Common Locale Data Repository), providing access to various locale display names, localized number and date formatting, etc.

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

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

sudo yum -y install babel.noarch

How To Uninstall babel.noarch on Amazon Linux 2

To uninstall only the babel.noarch package we can use the following command:

sudo yum remove babel.noarch

babel.noarch Package Contents on Amazon Linux 2

/usr/bin/pybabel
/usr/share/doc/babel-0.9.6
/usr/share/doc/babel-0.9.6/COPYING
/usr/share/doc/babel-0.9.6/ChangeLog
/usr/share/doc/babel-0.9.6/README.txt
/usr/share/doc/babel-0.9.6/cmdline.txt

References

Summary

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