How To Install quota on Fedora 34

quota is System administration tools for monitoring users’ disk usage

Introduction

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

What is quota

The quota package contains system administration tools for monitoring and limiting user and or group disk usage per file system.

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

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

sudo dnf -y install quota

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

sudo yum -y install quota

How To Uninstall quota on Fedora 34

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

sudo dnf remove quota

quota Package Contents on Fedora 34

/usr/bin/quota
/usr/bin/quotasync
/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/4c86eaf8cbd3c0403ccc558b28b2f5e3cf8b30
/usr/lib/.build-id/58
/usr/lib/.build-id/58/5b3fc2a88676a507ddf4627c7b285301184ccc
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/9734486e541646365260b5343f20fcf3bd0678
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/416b1740e985cb2fbbb8af10c96164208f71fb
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/bd9df3c640aa4891556b6bd0199dd54a42b366
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/558893abf10880ef0c91a4abdba3d975b68b96
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/63ed96a2510d143870b6b53db91c1a2274b03d
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/aaea925e958a24bb6bb344d313c9fb40def586
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/48671d3446b56ee4b2aa5a0f6d19004e2a0f6c
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/36e259af094453d3791b8e82e695f147052afe
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/81ec2f30152349c177703805f5e3ebe2d766ba
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/988768d4c172179cabff4eff351c4adbb3c929
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/a7c64292b52d0b8f29d6c91eb4f2283d9fffb0
/usr/sbin/convertquota
/usr/sbin/edquota
/usr/sbin/quotacheck
/usr/sbin/quotaoff
/usr/sbin/quotaon
/usr/sbin/quotastats
/usr/sbin/repquota
/usr/sbin/setquota
/usr/sbin/xqmstats
/usr/share/doc/quota
/usr/share/doc/quota/Changelog
/usr/share/man/man1/quota.1.gz
/usr/share/man/man1/quotasync.1.gz
/usr/share/man/man8/convertquota.8.gz
/usr/share/man/man8/edquota.8.gz
/usr/share/man/man8/quotacheck.8.gz
/usr/share/man/man8/quotaoff.8.gz
/usr/share/man/man8/quotaon.8.gz
/usr/share/man/man8/quotastats.8.gz
/usr/share/man/man8/repquota.8.gz
/usr/share/man/man8/setquota.8.gz
/usr/share/man/man8/xqmstats.8.gz

References

Summary

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