简体   繁体   中英

Install gdal in CentOS without Root

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.

Please, web-wizards and sysadmin gurus, can you point me in the right direction?

Thank you.

UPDATE

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?

You can use anaconda distribution it has precompiled version of gdal

https://store.continuum.io/cshop/anaconda/

And you dont have to compile anything, installs in home directory, doesn't require root access

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM