How to fix RCurl installation error xml2-config: Command not found
Problem:
While trying to install RCurl using
example.txt
BiocManager::install("RCurl")
you see the following error message:
example.txt
> BiocManager::install("RCurl")
/bin/bash: Zeile 1: xml2-config: Befehl nicht gefunden
/bin/bash: Zeile 1: xml2-config: Befehl nicht gefunden
Solution
You need to install the libxml2
development headers which include the xml2-config
executable.
On Ubuntu, you can install it using
example.sh
sudo apt -y install libxml2-dev
Check 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