Where are the GDAL binaries stored on CentOS 7?
Where are the GDAL binaries stored on CentOS 7?
I'm trying to make sure GDAL is installed on my system, and the Download documentation says that
Fedora, since release 7, includes GDAL binaries.
Where are those GDAL binaries? Or what's the name of a package GDAL includes that I can search for to find out?
CentOS. Which is downstream from Fedora, isn't it?
– Michael Hoffmann
Sep 11 '18 at 19:19
2 Answers
2
You can always find out the installed files of a package using this way:
rpm -qvpl gdal
If you have installed gdal binaries, you will see the installation files and folders. If you haven't, you can install ELGIS repo as Stephen said, and then search for it:
yum search gdal
and then install appropriate packages, using:
yum install gdal*
and then find out the installation folder.
It looks like EPEL is recommended instead of ELGIS now (according to the page you linked), but this is the best way to install GDAL without going to a third party.
– Michael Hoffmann
Sep 11 '18 at 21:52
CentOS is based on RHEL, which is itself based on Fedora, but the package selections are different (and while CentOS and RHEL are very similar, there are significant differences between Fedora and RHEL, not least the fact that they have rather different aims).
CentOS doesn’t include any GDAL package, and ELGIS doesn’t support CentOS 7. It turns out EPEL now includes GDAL packages for RHEL and CentOS 7:
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
will make them available on your system.
Thank you. Looks like I'll have to find binaries from a 3rd party or compile them.
– Michael Hoffmann
Sep 11 '18 at 19:39
Thanks for contributing an answer to Unix & Linux Stack Exchange!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Are you looking for binaries on Fedora, or on CentOS?
– Stephen Kitt
Sep 11 '18 at 19:19