apt-get build-dep libcurl4-gnutls-dev libcurl4-openssl-dev package in case R devtools needs to be loaded
build-dep is an apt-get subcommand. DOH
Split apt-ge install to separate lines. No idea why this helps
Turn on X11 port forwarding
Install curl; many R packages need it.