2022年3月3日 星期四

Ubuntu 20.04用apt安裝R-3.6.3完整指令

簡單記錄在Ubuntu 20.04上用apt安裝完整的R,預設的版本是R-3.6.3

sudo apt update
sudo apt --fix-broken install
sudo apt autoremove
sudo apt install xorg libx11-dev \
  xfonts-75dpi \
  xfonts-100dpi \
  xfonts-ISO8859-2-75dpi \
  xfonts-Type1 \
  xfonts-cyrillic
sudo apt install \
  xvfb xauth xfonts-base \
  xorg-dev libtiff5 libtiff5-dev \
  libcairo2 libghc-cairo-dev \
  texlive-latex-base gsfonts-x11 t1-xfree86-nonfree \
  ttf-xfree86-nonfree ttf-xfree86-nonfree-syriac
sudo apt install \
  openssl libssl-dev \
  xml2 libxml2-dev \
  icu-devtools libicu-dev
sudo apt install \
  make git aglfn tk-dev \
  liblapack-dev libblas-dev libopenblas-dev \
  g++ gfortran openjdk-11-jre \
  icu-devtools libicu66 libicu-dev libicu4j-java
sudo apt install \
  libreadline-dev libbz2-dev \
  libpcre3 libpcre3-dev \
  libpcre++0v5 libpcre++-dev \
  libcurl3-gnutls libcurl3-dev libcurl4-openssl-dev libcurl4-doc \
  libgnutls30 libgnutls28-dev \
  libidn11 libidn11-dev \
  libkrb5-dev libldap2-dev librtmp-dev \
  libssh2-1 libssh2-1-dev \
  texinfo texlive texlive-fonts-extra texlive-fonts-extra-doc \
  html2ps libclang-dev libpq5 libpq-dev
sudo apt install \
  r-base r-base-dev \
  r-base-core r-base-core-dbg \
  r-base-html
which R Rscript && Rscript --version
Rscript <(echo "capabilities()")
sudo apt install r-cran-devtools

參考資料

_EOF_

loose watercolor of flowers painterly, granular splatter dripping. muted colors by jean - baptiste monge

Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 4220395071, Size: 512x256, Model hash: a757fe8b3d, Model: chilloutmix, Version: v1.6.1

Time taken: 1 min. 33.1 sec.
A: 1.73 GB, R: 2.20 GB, Sys: 2.0/2 GB (100.0%)

沒有留言:

張貼留言