Install rgdal on ubuntu from scratch or using package manager

Using package manager, in shell, enter

sudo apt install libgdal-dev

Using this command can install old versions of some libraries.

Using source:

Check the current version here:

# This method is broken: ./configure is not found

wget https://github.com/OSGeo/gdal/releases/download/v3.7.1/gdal-3.7.1.tar.gz
tar -xf gdal-3.7.1.tar.gz
cd gdal-3.7.1
./configure
make
cd ..
rm gdal-3.6.3.tar.gz
rm -rf gdal-3.6.3

In R, enter:

install.packages("rgdal")

Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

stepAIC from package MASS with AICc

Install treemix in ubuntu 20.04