Trouble getting latest version of GDAL on ubuntu running R
You may need to uninstall all traces of gdal then re-install it from the ubuntugis-unstable source. The following helped me solve a similar problem:
sudo apt remove libgdal-devsudo apt remove libproj-devsudo apt remove gdal-binsudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
Make sure a version >= 2.0 appears when you execute this line
sudo apt-cache policy libgdal-dev
If so, run
sudo apt update sudo apt install libgdal-dev
I could then successfully execute in R 3.4.2 in Ubuntu 14.04 ("Trusty Tahr"):
install.packages('rgdal')
The following worked for me
sudo apt-get install gdal-bin proj-bin libgdal-dev libproj-dev
From: https://gist.github.com/dncgst/111b74066eaea87c92cdc5211949cd1e