How to fix RCurl installation error xml2-config: Command not found
Problem:
While trying to install RCurl using
rcurl_xml2_error.R
BiocManager::install("RCurl")you see the following error message:
rcurl_xml2_error.txt
> BiocManager::install("RCurl")
/bin/bash: Zeile 1: xml2-config: Befehl nicht gefunden
/bin/bash: Zeile 1: xml2-config: Befehl nicht gefundenSolution
You need to install the libxml2 development headers which include the xml2-config executable.
On Ubuntu, you can install it using
install_libxml2_dev.sh
sudo apt -y install libxml2-devCheck out similar posts by category:
R
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow