How to install php-pecl-decimal in CentOS/RHEL 10 (x86_64)

Arbitrary-precision floating-point decimal

License: MIT Vendor: GetPageSpeed LLC https://github.com/php-decimal/ext-decimal

Install

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install php-pecl-decimal

Description

Adds support for correctly-rounded arbitrary precision decimal floating point arithmetic in PHP. Package built for PHP 8.5.

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
php-pecl-decimal-2.0.2-1.1.el10.gps.x86_64 50 KiB 2026-11-09 GetPageSpeed
- Built for GetPageSpeed repositories

Subscribe