Skip to content

Instantly share code, notes, and snippets.

@myfingerhurt
Created October 2, 2021 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myfingerhurt/f666984c728abf29b9e2b6f32f7b28be to your computer and use it in GitHub Desktop.
Save myfingerhurt/f666984c728abf29b9e2b6f32f7b28be to your computer and use it in GitHub Desktop.
Install R 4.1 on Ubuntu Server 20.04 arm64 (Raspberry Pi)
  1. Enable source code repositories and building essentials
v   sudo sed -i "s/# deb-src/deb-src/g" /etc/apt/sources.list
v   sudo apt-get update
v   sudo apt-get build-dep r-base-dev
  1. Downloading R 4.1.1.1 source code
v   wget -c https://cran.r-project.org/src/base/R-4/R-4.1.1.tar.gz
v   tar -xf R-4.1.1.tar.gz
v   cd R-4.1.1
  1. Building
v   ./configure --enable-R-shlib
v   make clean
v   make -j9
v   sudo make install
  1. Check Version
v  R -e "R.version.string"

Reference https://askubuntu.com/questions/1348225/can%C2%B4t-install-r-4-1-on-ubuntu-server-20-04-raspberry-pi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment