I have been struggling to get python setup to do some image processing, so I really need the http://www.gdal.org/ GDAL libraries installed on CentOS 6.5. I want to install the package in a local folder (maybe /workspace/GDAL
) without root access. When I try to build from source, it seems CentOS is missing a bunch of libraries.
I will be using it for opening HDF4, HDF4-EOS files, and have a local installation of the HDF4/HDF5 libraries (say /workspace/HDF
).
If I can install a binary without root, is there a way to point GDAL to these libraries?
Answer
Trying to build from source without root access is near impossible on CentOS. I have figured out that really the only practical way to solve this issue is using a conda package (for the Anaconda python distribution) built by Jose
The solution is to run this on a fresh install of Anaconda (step three being the important one): conda update conda conda update anaconda conda install -c https://conda.binstar.org/jgomezdans gdal=1.11.0
It appears without root access, the best option is the Anaconda package manager. This way, it comes with HDF4/HDF5/GEOS/etc everything needed to do geospatial analysis.
No comments:
Post a Comment