Skip to content

Instantly share code, notes, and snippets.

@saheelBreezo
Created May 14, 2020 14:24
Show Gist options
  • Save saheelBreezo/556ebad351687991af26e6a2c43eecc0 to your computer and use it in GitHub Desktop.
Save saheelBreezo/556ebad351687991af26e6a2c43eecc0 to your computer and use it in GitHub Desktop.
Installation process for GDAL on Ubuntu with pip
#!/usr/bin/env bash
sudo add-apt-repository ppa:ubuntugis/ppa && sudo apt-get update
sudo apt-get update
sudo apt-get install gdal-bin
sudo apt-get install libgdal-dev
export CPLUS_INCLUDE_PATH=/usr/include/gdal
export C_INCLUDE_PATH=/usr/include/gdal
pip install GDAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment