Install rgdal on ubuntu from scratch or using package manager
Using package manager, in shell, enter
sudo apt install libgdal-dev
sudo apt install libgdal-dev
Using this command can install old versions of some libraries.
In R, enter:
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
Enregistrer un commentaire