我以前在一台运行RedHat EL6.5的机器上安装过R,但最近在安装新包(即install.packages())时遇到了问题。由于找不到解决方案,我尝试使用以下命令重新安装R:
sudo yum remove R和
sudo yum install R但现在我明白了:
....
---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: blas-devel >= 3.0 for package: R-core-devel-3.1.0-5.el6.x86_64
--> Processing Dependency: libicu-devel for package: R-core-devel-3.1.0-5.el6.x86_64
--> Processing Dependency: lapack-devel for package: R-core-devel-3.1.0-5.el6.x86_64
---> Package xz-devel.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: blas-devel >= 3.0
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: lapack-devel
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: libicu-devel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest我已经检查过了,并且安装了blas-devel,但是最新的版本是0.2.8。使用以下命令进行检查:
yum info openblas-devel.x86_64对哪里出了问题有什么想法吗?谢谢。
发布于 2014-08-28 02:33:06
我也有同样的问题。不确定为什么RHEL的repos中没有这些包,但它们在CentOS 6.5中,所以如果你想保持包范例中的东西,下面的解决方案是有效的:
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/lapack-devel-3.2.1-4.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/blas-devel-3.2.1-4.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/texinfo-tex-4.13a-8.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/libicu-devel-4.2.1-9.1.el6_2.x86_64.rpm
sudo yum localinstall *.rpm干杯
更新:里昂的答案更好--见下文。
发布于 2015-05-22 02:38:53
执行以下操作:
在文件的rhel 6-
完成了!
我想我应该参考一下解决方案的网站:
https://bluehatrecord.wordpress.com/2014/10/13/installing-r-on-red-hat-enterprise-linux-6-5/
发布于 2014-08-04 12:49:02
我能想到的最好的解决方案是从源代码安装。这起作用了,而且还不算太糟。但是,现在它不在我的包管理器中。
https://stackoverflow.com/questions/24708213
复制相似问题