install r + rstudio + tidyverse and fig the git error ssh in pop_os (or Ubuntu) 20.10



Terminal 

sudo apt-get install r-base

download and install rstudio

sudo apt install libcurl4-openssl-dev libssl-dev  git-core subversion libgit2-dev

for sf

sudo apt install libgdal-dev

sudo apt install libudunits2-dev

in Rstudio

install curl and tidyverse 

tinytex::install_tinytex()

In terminal

Generate ssh keys

cd ~                 #Your home directory
ssh-keygen -t rsa    #Press enter for all values

Follot the instructions from here:

https://stackoverflow.com/questions/8588768/how-do-i-avoid-the-specification-of-the-username-and-password-at-every-git-push
and here: 
https://stackoverflow.com/questions/13363553/git-error-host-key-verification-failed-when-connecting-to-remote-repository

Done!

Comments