December 2017
Beginner to intermediate
470 pages
12h 29m
English
To install GDAL and X11, we need various system libraries in Ubuntu. The easiest way to accomplish this is to use the following lines. If you had no problems, you should be all set:
$ apt-get update $ apt-get install r-cran-rgl
If using the previous lines gave you an error, or otherwise did not work, you can try to install GDAL in a more explicit way using the following lines. The last two lines can be combined into a single one if you prefer, they were split due to space restrictions:
# apt-get update $ apt-get install mesa-common-dev libglu1-mesa-dev libgdal1-dev $ apt-get install libx11-dev libudunits2-dev libproj-dev
If you still get some kind of error with the previous commands, you can try to add the ubuntugis repository ...