How To Install augeas on Rocky Linux 8

In this tutorial we learn how to install augeas on Rocky Linux 8. augeas is A library for changing configuration files

Introduction

In this tutorial we learn how to install augeas on Rocky Linux 8.

What is augeas

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.

We can use yum or dnf to install augeas on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install augeas.

Install augeas on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install augeas using dnf by running the following command:

sudo dnf -y install augeas

Install augeas on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install augeas using yum by running the following command:

sudo yum -y install augeas

How To Uninstall augeas on Rocky Linux 8

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

sudo dnf remove augeas

augeas Package Contents on Rocky Linux 8

/usr/bin/augmatch
/usr/bin/augparse
/usr/bin/augtool
/usr/bin/fadot
/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/09c4757b861b7524efe0e52ddc6644e46eee1b
/usr/lib/.build-id/66
/usr/lib/.build-id/66/0a4fe5dcd2b08a0ef8a97302dd5d255e18e9e5
/usr/lib/.build-id/96
/usr/lib/.build-id/96/312ec344b7b7cda9f0211d2520cef2ee73e4d5
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/8efe004e14f103494a9f8f467b226aa173ff03
/usr/share/man/man1/augmatch.1.gz
/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 on Rocky Linux 8 using yum and dnf.