美文网首页
ubuntu16.04 install R

ubuntu16.04 install R

作者: 宇辰星君 | 来源:发表于2018-09-02 21:29 被阅读85次

报错0:gcc

su@ubuntu:/softwares/R-3.3.0$ sudo apt install gfortran

报错1:con<wbr style="line-height: 32.6667px;">figure: error: --with-readline=yes (default) and headers/libs are not available

su@ubuntu:/softwares/R-3.3.0$ ./configure --with-readline=no

报错2:con<wbr style="line-height: 32.6667px;">figure: error: --with-x=yes (default) and X11 headers/libs are not available

su@ubuntu:/softwares/R-3.3.0$ ./configure --with-readline=no --with-x=no

报错3:configure: error: bzip2 library and headers are required

bzip2-1.0.6.tar.gz

su@ubuntu:/softwares/bzip2-1.0.6$make

su@ubuntu:/softwares/bzip2-1.0.6$ sudo make install

报错4:con<wbr style="line-height: 32.6667px;">figure: error: "liblzma library and headers are required"

xz-5.2.2.tar.gz

su@ubuntu:/softwares/xz-5.2.2$./configure

su@ubuntu:/softwares/xz-5.2.2$make

su@ubuntu:/softwares/xz-5.2.2$ sudo make install

报错4:pcre

su@ubuntu:/softwares/pcre-8.33$ ./configure --enable-utf8

su@ubuntu:/softwares/pcre-8.33$ make

su@ubuntu:/softwares/pcre-8.33$ sudo make install

报错5:libcurl

su@ubuntu:/softwares/curl-7.50.3$ ./configure ;make ;make install

这里的SSL support提示的是不支持的,因为https协议是加密安全的基于http的协议,需要使用openssl的静态库,所以需要支持https就必须下载openssl,安装openssl-master.zip

su@ubuntu:~/softwares/openssl-master$ ./config

su@ubuntu:~/softwares/openssl-master$ make

su@ubuntu:~/softwares/openssl-master$ sudo make install

su@ubuntu:/softwares/curl-7.50.3$ ./configure

su@ubuntu:/softwares/curl-7.50.3$ make

su@ubuntu:/softwares/curl-7.50.3$ make install

END:编译生成Makefile完成


编译安装:

su@ubuntu:/softwares/R-3.3.0$ make

su@ubuntu:/softwares/R-3.3.0$ sudo make check

su@ubuntu:/softwares/R-3.3.0$ sudo make pdf

su@ubuntu:/softwares/R-3.3.0$ sudo make info

su@ubuntu:/softwares/R-3.3.0$ sudo make install

相关文章

网友评论

      本文标题:ubuntu16.04 install R

      本文链接:https://www.haomeiwen.com/subject/sfhvwftx.html