Error: conflicting requests in centos 8 package installation
Solution 1:
You can enable the powertools repository to solve this issue,
sudo yum install dnf-plugins-core
sudo yum config-manager --set-enabled powertools
Now you can install the gdal by following code,
sudo yum install gdal-devel
Solution 2:
Installing GDAL requires both EPEL (which contains GDAL) and PowerTools (which contains some of its dependencies).
You can enable EPEL by installing its repo:
dnf -y install epel-release
PowerTools is a repo included with base CentOS. You can enable it thus:
dnf config-manager --set-enabled powertools
Now you can install GDAL successfully.