본문 바로가기

Hadoop Ecosystem

R installation on Centos

제목  :  R installation on Centos

[ 2013-05-13 ] http://cafe.naver.com/sqlpd/2202  -- 카페에 올렸던 글임.

Error message :  ...... X11 headers/libs are not available
R version :  R-2.15.2.tar.gz
OS : Centos 6.4  Kernel Linux 2.6.32-358.el6.x86_64

R 은 Windows 상에서만 설치하여 MongoDB 데이타를 import 하는 것 까지 성공확인 이후
스터디 때 사용해 오다가 결국은 R 도 Linux 상에서 쓰는것이 맞지 않을까 싶어 Linux 에서 설치시도 들어갔네요.

그런데 이거 Windows 에서 설치하는 것과 달리 하나하나가 걸림돌이네요

혹시 R 을 Linux 에서 설치하여 사용하시는 분 ( 설치성공하신 분도요) 도움 요청드려봅니다. 

현재 겪고 있는 에러메시지들과 설치과정중에 구글링하면서 마주치는 내용을 보면
Linux 계열에 따라서도 R 을 설치시 유의점이 달라보이는 듯 하네요. 

설치하면서 아래 캡쳐화면의 마지막 부분에서 error 가 발생하는데
구글링을 해도 해당 내용에 대한 명쾌한 해답을 찾기가 어렵네요


-- 이 때 source 버젼 받아서 make 해서 시간만 이빠이 들었었던 기억이 , Dependency 문제로 왕 고생중,
    결국은 원인해결을 통해 설치하기 보다는 우회해서 "되는" 방법을 찾아서 go 했음. --




[ source : http://cafe.naver.com/sqlpd/2123 ]


Centos 6.x + > R install

 

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm


[root@localhost home]# yum install R




http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x


Centos 6.x

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

Once installed you should see some additional repo definitions under the /etc/yum.repos.d directory.

$ ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/remi.repo








'Hadoop Ecosystem' 카테고리의 다른 글

RHadoop log  (0) 2013.06.27
RStudio-server version install  (0) 2013.06.27
[hadoop@h001 ~]$ cat .hivehistory with 항공데이터  (0) 2013.06.20
HIVE 상에서 사용할 수 있는 명령어  (0) 2013.06.20
What Is Apache Hadoop?  (0) 2012.01.26