Last active
October 16, 2019 18:51
-
-
Save benfasoli/c1ed43c7350a6253fed3bfd4e17743ef to your computer and use it in GitHub Desktop.
Configure proj4 and gdal libraries within user scope
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
#!/bin/bash | |
# source <(wget https://gist.github.com/benfasoli/c1ed43c7350a6253fed3bfd4e17743ef/raw/ -O -) | |
set -e | |
# Configure miniconda installation within user scope | |
source <(wget https://gist.githubusercontent.com/benfasoli/a7193b2bdd59e1b930efcb7facd6d12e/raw/ -O -) | |
conda update --all -y | |
conda install -y -c conda-forge --strict-channel-priority proj4 gdal | |
Rscript -e "install.packages('rgdal', type='source', repos='https://cran.rstudio.com')" | |
Rscript -e "library(rgdal)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment