Skip to content

Installing RGDAL on CentOS v.6.2

4 messages · Eric Brown, Shouro Dasgupta

#
Dear all,

I have access to an IBM IDataplex Cluster with CentOS v.6.2. R 3.2.1 is
currently installed. I was wondering if there was any way to install RGDAL
on it? Thanks!

Sincerely,

Shouro
#
Dear Shouro,

I can confirm that I have installed GDAL (and RGDAL) on CentOS 
6.4, 6.5,
and 6.6.

But quite frankly, these systems have such old versions of 
software that
I spent a fair amount of time compiling everything up from tar.gz.

This is exhausting, so I spent some time learning NetBSD's 
pkgsrc--and
now recommend this wonderful package manager to anyone caught in a
situation where they don't have root privileges, but need to bring 
an
old CentOS to have modern versions of software and all its 
dependencies.

Best regards,
Eric

Shouro Dasgupta <shouro at gmail.com> writes:
#
Dear Eric,

Thank you for your reply. Unfortunately, I don't have NetBSD on the cluster
and considering the size of my dataset, I can't utilise my local machine.

Does it make a difference that the R installed on the cluster is up-to-date
if I do want to compile everything from tar.gz? Thanks again.

Sincerely,

Shouro
On Sun, Aug 9, 2015 at 4:31 AM, Eric Brown <brown at fastmail.com> wrote:

            

  
    
#
Dear Shouro,

I should have mentioned that pkgsrc is cross-platform, and not
restricted to the NetBSD OS.  I use pkgsrc on my CentOS machines 
to
provide up-to-date software.  Since sysadmins tend to be 
conservative
about what they will install on computers, I end up installing my 
own
software into my own personal directory.

I don't think that the version of R is indicative of whether proj4 
and
gdal will compile. IIRC, I had to install a number of dependencies 
to be
able to build these from source.

It might be worthwhile to see if your sysadmin will install gdal 
and
proj4 from the CentOS distro.  These will probably be quite "old" 
--
though they may be enough for your needs.  Alternatively, there 
are some
third-party repositories for up-to-date software for CentOS, 
including
EPEL and ELGIS, the latter especially targeted toward geospatial
modeling.

Best regards,
Eric

Shouro Dasgupta <shouro at gmail.com> writes: