How To Install acl on Fedora 34

acl is Access control list utilities

Introduction

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

What is acl

This package contains the getfacl and setfacl utilities needed for manipulating access control lists.

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

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

sudo dnf -y install acl

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

sudo yum -y install acl

How To Uninstall acl on Fedora 34

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

sudo dnf remove acl

acl Package Contents on Fedora 34

/usr/bin/chacl
/usr/bin/getfacl
/usr/bin/setfacl
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/e92481a5392686c2808d4a4162609165b25def
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/f31afe58433172f41863e30bcce09f50e05446
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/610e5f0c0ed5ed6b2b764abb8bd182f6a0f013
/usr/share/licenses/acl
/usr/share/licenses/acl/COPYING
/usr/share/licenses/acl/COPYING.LGPL
/usr/share/locale/de/LC_MESSAGES/acl.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/acl.mo
/usr/share/locale/en@quot/LC_MESSAGES/acl.mo
/usr/share/locale/es/LC_MESSAGES/acl.mo
/usr/share/locale/fr/LC_MESSAGES/acl.mo
/usr/share/locale/gl/LC_MESSAGES/acl.mo
/usr/share/locale/pl/LC_MESSAGES/acl.mo
/usr/share/locale/sv/LC_MESSAGES/acl.mo
/usr/share/man/man1/chacl.1.gz
/usr/share/man/man1/getfacl.1.gz
/usr/share/man/man1/setfacl.1.gz
/usr/share/man/man5/acl.5.gz

References

Summary

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