How To Install augeas on Fedora 34
Introduction
In this tutorial we learn how to install augeas
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install augeas.
Install augeas on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34
To uninstall only the augeas
package we can use the following command:
sudo dnf remove augeas
augeas Package Contents on Fedora 34
/usr/bin/augmatch
/usr/bin/augparse
/usr/bin/augtool
/usr/bin/fadot
/usr/lib/.build-id
/usr/lib/.build-id/57
/usr/lib/.build-id/57/4fd334aa66a07291f4c8e966dd1f7417a3abad
/usr/lib/.build-id/85
/usr/lib/.build-id/85/4ea73fea1b97c8de0416905a957e35d2df1d25
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/995be63fe765eca3372758857864decd095837
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/5803d1032af4d77534d593b237416902399ac6
/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
/usr/bin/augmatch
/usr/bin/augparse
/usr/bin/augtool
/usr/bin/fadot
/usr/lib/.build-id
/usr/lib/.build-id/76
/usr/lib/.build-id/76/ff8237dc2882f6be3eb42fdf15db9cc75c9beb
/usr/lib/.build-id/86
/usr/lib/.build-id/86/36dfe2e1dea7237ab1e86bdb89cd2c7462c3d1
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/87cda9608b890631cac1a94166adb3b5381626
/usr/lib/.build-id/a7/c3f391ed44aef498d1ac707b40f0a02a14309a
/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 Fedora 34 using yum and dnf.