Installing PostGIS 2.0.X on RHEL/CentOS/Scientific Linux 5 and 6 (Fedora? That is easy!)
I have announced PostGIS 2.0.0 packages last week -- now time for a tutorial about how to install them on RHEL/CentOS/SL 5 and 6.
On Fedora, things are easy -- all required dependencies are inside the distribution, so yum will work fine.
However, on RHEL/CentOS/SL, gdal is not included in both main repositories and PGDG repository. -- and gdal requires following packages:
cfitsio
hdf5
libdap
libgeotiff
librx
netcdf
ogdi
xerces-c
You can get these packages from EPEL repository:
http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
I know it is not that good to add an extra repository to your machine, but this is what I can do for now. A nice solution is downloading these packages from EPEL repo, resigning them with PGDG key, and not requiring EPEL for PostGIS. I have done this before for pgAdmin, and copied wxGTK packages from EPEL repository. I will probably do it also for the packages above, but not this week

-HTH.
Comments
Display comments as Linear | Threaded