Skip to content

Instantly share code, notes, and snippets.

@meule
Last active November 3, 2015 03:29
Show Gist options
  • Save meule/1cb42886a432db85417b to your computer and use it in GitHub Desktop.
Save meule/1cb42886a432db85417b to your computer and use it in GitHub Desktop.
# bash script to install GDAL 2.0.1 with Python on Ubuntu 14.04 (works on Scaleway ARM architecture)
apt-get unzip install g++ byacc flex libjpeg-dev zlib1g-dev build-essential libhdf4-dev libhdf5-dev hdf5-tools libproj-dev python-numpy python-pip python-setuptools python-dev -y
pip install numpy
apt-get install python3-numpy python3-pip python-setuptools python3-dev -y
pip3 install numpy --upgrade
mkdir /opt/gdal
cd /opt/gdal
wget http://download.osgeo.org/gdal/2.0.1/gdal201.zip
wget http://download.osgeo.org/gdal/2.0.1/gdal201.zip.md5
OK=$( md5sum -c gdal201.zip.md5 )
[ "$OK" != "gdal201.zip: OK" ] && { echo "! MD5 not good !"; exit 1; }
unzip gdal201.zip
cd gdal-2.0.1
#make clean
./configure --with-python
make
sudo make install
sudo ldconfig
# have fun and sex!
@meule
Copy link
Author

meule commented Nov 3, 2015

Bash script to install GDAL 2.0.1 with Python on Ubuntu 14.04 (works on Scaleway ARM architecture)
Have fun and sex!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment