Last active
February 11, 2018 20:29
-
-
Save pnsinha/ce978924b453b9960b08ea09043168c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #download the latest proj.4 package | |
| wget http://download.osgeo.org/proj/proj-5.0.0RC2.zip | |
| unzip -o -q proj-5.0.0RC2.zip -d ./ | |
| cd proj-5.0.0 | |
| ./configure --prefix=/scratch/home/p0sinh02/packages/proj/ | |
| make | |
| make install | |
| #download the latest GDAL package | |
| wget http://download.osgeo.org/gdal/CURRENT/gdal-2.2.3.tar.gz | |
| tar -zxvf gdal-2.2.3.tar.gz | |
| cd gdal-2.2.3 | |
| ./configure --with-python --prefix=/scratch/home/p0sinh02/packages/gdal/ | |
| make | |
| make install | |
| # Add the necessary path variable | |
| export PATH=/scratch/home/p0sinh02/packages/gdal/bin:$PATH | |
| export LD_LIBRARY_PATH=/scratch/home/p0sinh02/packages/gdal/lib:$LD_LIBRARY_PATH | |
| export GDAL_DATA=/scratch/home/p0sinh02/packages/gdal/share/gdal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment