The version provided via EPEL is unfortunately to old. Have you considered upgrading to CentOS 8? In case this is not possible, you can always compile from source. Here some older notes of mine for version 2.4.0:
sudo yum-builddep gdal wget http://download.osgeo.org/gdal/2.4.0/gdal-2.4.0.tar.gz tar xf gdal-2.4.0.tar.gz cd gdal-2.4.0/ ./configure make -j4 sudo make install make sure the library can be found echo /usr/local/lib | sudo tee -a /etc/ld.so.conf.d/local.conf sudo ldconfig
原始链接
https://community.rstudio.com/t/installing-gdal-2-0-1-or-higher-on-centos-7-7/63895
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)