1

I am trying to install the gdal on my centos 8. I tried with following command

sudo yum install gdal-libs

And it threw me following error,

Last metadata expiration check: 0:05:58 ago on Sun 10 Jan 2021 10:52:18 PM EST.
Error:
 Problem: conflicting requests
  - nothing provides libdap.so.25()(64bit) needed by gdal-libs-3.0.4-5.el8.x86_64
  - nothing provides libdapclient.so.6()(64bit) needed by gdal-libs-3.0.4-5.el8.x86_64
  - nothing provides libdapserver.so.7()(64bit) needed by gdal-libs-3.0.4-5.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Please, anyone, suggest to me, how to solve this error?

0

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
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.