在我的Centos VE之一上安装R时,我看到以下错误:

Error: Package: R-core-3.1.0-5.el5.x86_64 (epel)
Requires: libtcl8.4.so()(64bit)
Error: Package: R-core-3.1.0-5.el5.x86_64 (epel)
Requires: libtk8.4.so()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


我尝试使用以下命令安装R:

rpm -ivh http://mirror.chpc.utah.edu/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum install R


有什么帮助吗?

最佳答案

首先安装这两个依赖文件-

tcl-devel
tk-devel


遵循以下命令

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo yum install tcl
sudo yum clean all
sudo yum install R

关于linux - Linux安装问题-R,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/24958223/

10-15 08:35