How To Install richacl on CentOS 7

In this tutorial we learn how to install richacl on CentOS 7. richacl is Rich Access Control List utilities

Introduction

In this tutorial we learn how to install richacl on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install richacl.

Install richacl on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install richacl

Install richacl on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install richacl

How To Uninstall richacl on CentOS 7

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

sudo dnf remove richacl

References

Summary

In this tutorial we learn how to install richacl on CentOS 7 using yum and dnf.