Topic: php-devel install can't find prereq

[root@li730-188 ~]# yum -y --enablerepo=remi install php-devel
Last metadata expiration check: 0:48:14 ago on Wed Jan 15 10:36:34 2020.
Error:
Problem: cannot install the best candidate for the job
  - nothing provides libedit-devel(x86-64) needed by php-devel-7.4.1-1.el8.remi.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@li730-188 ~]#

Thanks

Re: php-devel install can't find prereq

On CentOS you need the PowerTools repository
On RHEL you need the CodeReady Linux Builder channel

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php-devel install can't find prereq

BTW, you mostly never need the "devel" packages, as most extensions are already built, available as packages.
See the list: https://blog.remirepo.net/pages/PECL-ex … RPM-status

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi