How To Install richacl on Fedora 34

richacl is Rich Access Control List utilities

Introduction

In this tutorial we learn how to install richacl on Fedora 34.

What is richacl

The getrichacl and setrichacl utilities allow to manage Rich Access Control Lists (richacls) from the command line. Richacls are an implementation of NFSv4 ACLs which has been extended by file masks to better fit the standard POSIX file permission model. They provide a consistent file permission model locally as well as over various remote file system protocols like NFSv4 and CIFS/Samba.

We can use yum or dnf to install richacl on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install richacl.

Install richacl 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 richacl using dnf by running the following command:

sudo dnf -y install richacl

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

sudo yum -y install richacl

How To Uninstall richacl on Fedora 34

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

sudo dnf remove richacl

richacl Package Contents on Fedora 34

/usr/bin/getrichacl
/usr/bin/setrichacl
/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/96c0445e9ff167564b63d9e19fdd1c9e4888f4
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/e688aba510dfbf9085af67d03ad44ecdbfd4fb
/usr/share/licenses/richacl
/usr/share/licenses/richacl/COPYING-GPLv2
/usr/share/man/man1/getrichacl.1.gz
/usr/share/man/man1/setrichacl.1.gz
/usr/share/man/man7/richacl.7.gz
/usr/share/man/man7/richaclex.7.gz

References

Summary

In this tutorial we learn how to install richacl on Fedora 34 using yum and dnf.