Skip to content

Instantly share code, notes, and snippets.

@mdsumner
Last active July 22, 2025 23:56
Show Gist options
  • Save mdsumner/85b2d6591592606184b5ec638885a3c7 to your computer and use it in GitHub Desktop.
Save mdsumner/85b2d6591592606184b5ec638885a3c7 to your computer and use it in GitHub Desktop.
docker run --rm -ti ubuntu

apt update
apt install -y curl 
curl -fsSL https://pixi.sh/install.sh | sh
pixi init example && cd example
#pixi add pkg-config
#pixi add gdal 
## pixi add ... r r-sf r-terra ##etc note that GDAL is very recent and for terra, but not for sf (and no sign of gdalraster)
pixi shell  

## in R do

#Sys.setenv("MAKEFLAGS"="-j31")
#install.packages("sf")
# sf::sf_extSoftVersion()
# GEOS           GDAL         proj.4 GDAL_with_GEOS     USE_PROJ_H
# "3.13.0"       "3.10.2"        "9.5.1"         "true"         "true"
# PROJ
# "9.5.1"
## etc, for gdalraster I also need pixi add xml2
#install.packages("gdalraster")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment