Resolves rcurl and XML dependencies for Bioconductor installer packages on Linux systems __linux

Source: Internet
Author: User
Tags curl


Ubuntu relies on Rcurl and XML to install many new packages using Bioconductor, but these two packages often fail to install correctly.

Directly in R type installation ' Rcurl ' may encounter problems with cannot find curl-config, resulting in dependencies that are not established and the installation is unsuccessful. The solution is to run the terminal, Apt-get install Libcurl4-gnutls-dev. Then run r,install.packages (' Rcurl '). Rcurl problems can refer to http://cos.name/cn/topic/108303/https://stat.ethz.ch/pipermail/r-sig-debian/2011-April/001576.html The second link mentions that the so-called xxx-config problem often needs to be solved by installing the corresponding Xxx-dev package, and you can get some hints by searching the package database for Ubuntu. But Xxx-dev packages may have multiple, You need to install the appropriate-dev package based on experience or through Google.

Similarly, the xml-config problem, the solution is the same as the Apt-get install Xxx-dev such a package. There is a need to install Libxml2-dev This issue has also been mentioned, see http://blog.sina.com.cn/s/ Blog_86c8fc120101fq04.html

After the two packages of Rcurl and XML are resolved, the other basic is no problem.

The specific resolution steps are as follows:
Open the terminal terminal run the following command, install-dev package, resolve curl-config and xml-config issues
sudo apt-get install
sudo apt-get install Libxml2-dev


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.