Ubuntu安装R过程中报错&解决方法

1、configure: error: no acceptable C compiler found in $PATH

apt install -y gcc

2、configure: error: No F77 compiler found

apt install -y gfortran

3、configure: error: C++ preprocessor "/lib/cpp" fails sanity check

apt install -y build-essential

4、configure: error: --with-readline=yes (default) and headers/libs are not available

apt install -y libreadline-dev

5、configure: error: --with-x=yes (default) and X11 headers/libs are not available

apt install -y libxt-dev

6、configure: error: zlib library and headers are required

apt install -y zlib1g-dev

7、configure: error: bzip2 library and headers are required

apt install -y libbz2-dev

8、configure: error: "liblzma library and headers are required"

apt install -y liblzma-dev

9、configure: error: pcre >= 8.20 library and headers are required

apt install -y libpcre3-dev

10、configure: error: libcurl >= 7.22.0 library and headers are required with support for https

apt install -y libcurl4-openssl-dev

11、configure: WARNING: you cannot build info or HTML versions of the R manuals

apt install -y textinfo

configure: WARNING: you cannot build PDF versions of the R manuals

apt install -y textlive

configure: WARNING: you cannot build PDF versions of vignettes and help pages

configure: WARNING: I could not determine a browser

configure: WARNING: I could not determine a PDF viewer

cd /usr/share/texlive/texmf-dist/tex/latex/
wget https://linux.linuxidc.com/linuxconf/download.php?file=Li9saW51eGZpbGVzLzIwMTXE6tfKwc8vNNTCLzTI1S9VYm50dSAxNC4wNCBMVFMgz8Kx4NLrsLLXsFIgU291cmNlIENvZGUvaW5jb25zb2xhdGEuemlw
mv download.php\?file\=Li9saW51eGZpbGVzLzIwMTXE6tfKwc8vNNTCLzTI1S9VYm50dSAxNC4wNCBMVFMgz8Kx4NLrsLLXsFIgU291cmNlIENvZGUvaW5jb25zb2xhdGEuemlw inconsolata.zip
unzip inconsolata.zip
texhash

results matching ""

    No results matching ""