I am trying to install gdal
latest version on a docker image of CentOS
. Below is the minimal code.
# Start and connect .
docker run --rm -it centos:latest bash
yum -y upgrade
yum -y install wget
yum groupinstall "Development Tools"
cd /tmp
wget http://download.osgeo.org/gdal/3.0.4/gdal-3.0.4.tar.gz
tar zxvf gdal-3.0.4.tar.gz
cd gdal-3.0.4/
./configure
At ./configure
step, I am getting error. configure: error: PROJ 6 symbols not found
. Ideally I would like to install gdal
latest version just by using yum
, i.e. without building it. I am looking for a solution that would either fix the mentioned issue of allow me to install the latest version using yum
.
Best Answer
Posting what solved my issue. I wanted to install
gdal
version 2.0.x or above forR
packagesf
. Usualyum install
would install version1.11.x
. Hence, the need to build and install. I believe this should also work for anyone who wants to installgdal
onRedHat
machines.