How To Install augeas on CentOS 8
Introduction
In this tutorial we learn how to install augeas
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install augeas.
Install augeas on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install augeas
using dnf
by running the following command:
sudo dnf -y install augeas
Install augeas on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the augeas
package we can use the following command:
sudo dnf remove augeas
augeas Package Contents on CentOS 8
/usr/bin/augmatch
/usr/bin/augparse
/usr/bin/augtool
/usr/bin/fadot
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/d8786e67a5d835344ed0f29b46423039f576d2
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/344bb2a558b7bc6ff2ad4593f84fbce6f1995c
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/d7482a95edf3c30c9cef1209f6b3daadca49fc
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/afc547ede18c763a86323e0045517bfa429200
/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 CentOS 8 using yum and dnf.