ervankurniawan41

r_termux_installer

Dec 3rd, 2019
109
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/bash
  2.  
  3. pkg install curl gnupg -y
  4.  
  5. # create sources.list.d
  6. mkdir -p "$PREFIX/etc/apt/sources.list.d/"
  7.  
  8. # add pointless repository
  9. echo "deb https://its-pointless.github.io/files/ termux extras" > "$PREFIX/etc/apt/sources.list.d/pointless.list"
  10. curl "https://its-pointless.github.io/pointless.gpg" | apt-key add
  11.  
  12. # install r packages and other depedencies
  13. pkg install r-base make clang gcc-7 libgfortran openssl libcurllibicu libxml2 -y
RAW Paste Data