How To Install quota on CentOS 8
Introduction
In this tutorial we learn how to install quota
on CentOS 8.
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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install quota.
Install quota on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the quota
package we can use the following command:
sudo dnf remove quota
quota Package Contents on CentOS 8
/usr/bin/quota
/usr/bin/quotasync
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/a0b5e27bcf4833c584af9c015a76e75cbd1a38
/usr/lib/.build-id/27
/usr/lib/.build-id/27/6d94db37c9911ddd79ff30997873c160ef2c90
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/1dca717b2a47cd7921a1686dc52158b7bf00c7
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/4916f764ba842cdcc45397ef9f20c598074318
/usr/lib/.build-id/68
/usr/lib/.build-id/68/43e33f8b848510d53fa6f03ae384aa6bbe517d
/usr/lib/.build-id/75
/usr/lib/.build-id/75/0c168544df8452b84be0cb1a425da32a5071de
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/2ce0c6bae2fc3ce1ab9f762785f4459ce7516b
/usr/lib/.build-id/7d/c45ecdf525de604d0aa6d5800607c288dbf18e
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/c445ae89bcb8d7da8842393b4d7796f4734651
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/f2d310f4b84a842d189f80c89bfe9a6c11d4cf
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/f8469224e5da9c41e70f3a9ec995a2da8ecfba
/usr/lib/.build-id/db
/usr/lib/.build-id/db/ea2161d33d12efa824345b0de82dc1c4d1d739
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/fd7453546bc44857d41f2bbff3cf03e0f9b5ea
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/2628f83d945135af5e41504dcbfb6135db499d
/usr/sbin/convertquota
/usr/sbin/edquota
/usr/sbin/quot
/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/quot.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 CentOS 8 using yum and dnf.