Translate

2017년 7월 25일 화요일

[R] installation of package ‘curl’ had non-zero exit status 오류 해결법


Laptop
운영체제Ubuntu 16.04 LTS 64bit
개발프로그램RStudio Version 1.0.143
(R version 3.4.1)

KoNLP 패키지 설치 중 curl 관련 오류가 뜨길래 install.packages('curl') 을 했더니 다시 오류가 나왔다.
installation of package ‘curl’ had non-zero exit status

libcurl4-openssl-dev를 설치하면 해결된다. 
$ sudo apt-get install libcurl4-openssl-dev


추가로 아래와 같은 패키지들을 요구할 수도 있다. 마찬가지로 sudo apt-get install로 설치하면 된다.

libssl-dev    (package on e.g. Debian and Ubuntu)
openssl-devel (package on e.g. Fedora, CentOS and RHEL)
openssl

참고 사이트: https://stackoverflow.com/questions/31686470/install-curl-and-readr-on-r

0 개의 댓글:

댓글 쓰기