In Rocky Linux 8 the package is available in the Code Ready Builder repository. This repository is required to build and run various packages in EPEL-8.
In CentOS 7 the package is available in the optional repository. This repository is required to build and run various packages in EPEL-7.