How To Install augeas.x86_64 on Amazon Linux 2

In this tutorial we learn how to install augeas.x86_64 in Amazon Linux 2. augeas.x86_64 is A library for changing configuration files

Introduction

In this tutorial we learn how to install augeas.x86_64 on Amazon Linux 2.

What is augeas.x86_64

A library for programmatically editing configuration files. Augeas parses configuration files into a tree structure, which it exposes through its public API. Changes made through the API are written back to the initially read files. The transformation works very hard to preserve comments and formatting details. It is controlled by ``lens’’ definitions that describe the file format and the transformation into a tree. This package attempts to be compatible with Augeas 1.1.0 as shipped in EL7.0, where possible.

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

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

sudo yum -y install augeas.x86_64

How To Uninstall augeas.x86_64 on Amazon Linux 2

To uninstall only the augeas.x86_64 package we can use the following command:

sudo yum remove augeas.x86_64

augeas.x86_64 Package Contents on Amazon Linux 2

/usr/bin/augparse
/usr/bin/augtool
/usr/bin/fadot
/usr/share/man/man1/augparse.1.gz
/usr/share/man/man1/augtool.1.gz
/usr/share/vim/vimfiles/ftdetect/augeas.vim
/usr/share/vim/vimfiles/syntax/augeas.vim

References

Summary

In this tutorial we learn how to install augeas.x86_64 on Amazon Linux 2 using yum.