无法在Centos 7上安装R [英] Failed to install R on Centos 7
问题描述
我有CentOS 7(3.10.0-123.el7.x86_64),但似乎无法安装R,然后使Rstudio服务器正常工作。
I have CentOS 7 (3.10.0-123.el7.x86_64) and I seem not be able to install R and then get Rstudio server working.
这是我所做的:
rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install R
然后我得到了此错误:
事务检查错误:
文件/ usr / lib / systemd / system / blk-availability。 device-mapper-7:1.02.107-5.el7_2.1.x86_64的安装服务与软件包lvm2-7:2.02.105-14.el7.x86_64的文件冲突
文件/ usr / sbin / blkdeactivate从device-mapper-7:1.02.107-5.el7_2.1.x86_64的安装与软件包lvm2-7:2.02.105-14.el7.x86_64的文件冲突
文件/ usr / share / man /安装device-mapper-7:1.02.107-5.el7_2.1.x86_64中的man8 / blkdeactivate.8.gz与软件包lvm2-7:2.02.105-14.el7.x86_64中的文件冲突
我不确定这是什么。 whereis R
没有任何内容,因为它没有安装。
I am not sure what it is. There is nothing from whereis R
because it didn't install.
如果我安装Rstudio Server,它将失败启动服务并说 ERROR无法在系统中找到R的安装
If I install Rstudio Server, it would fail to start the service and said ERROR unable to find installation of R in the system
有人可以告诉我如何在Centos 7上正确安装R?
Can someone tell me how to install R properly on Centos 7?
推荐答案
与R无关。您的日志显示 device-mapper之间存在冲突和 lvm2,这些软件包用于与硬盘和分区之类的设备一起使用(在有人拒绝我投票之前,是的,这是一个粗略的简化)。
That is not related to R. Your log shows a conflict between "device-mapper" and "lvm2", and these packages are used to operate with devices such as hard disks and partitions (before someone downvotes me, YES this is a crude simplification).
在安装R之前,应尝试使用yum更新系统。
You should try to update your system with yum before installing R.
这篇关于无法在Centos 7上安装R的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!