Solving “cannot find xml2-config” on Ubuntu 9.10

I was trying to install some packages in R recently that depended on the XML package. I used the nifty install.packages() command, but I was getting an error:

“cannot find xml2-config”

This error was preventing these other packages from being installed properly. It turns out that I needed to install a library called libxml2-dev. In my case, I am running Ubuntu Linux 9.10, so all I had to go was go to System -> Administration -> Synaptic Package Manager and install libxml2-dev.

6 Responses to “Solving “cannot find xml2-config” on Ubuntu 9.10”

  1. Thanks a lot, that solved also my similar situation!

  2. Thanks a lot.

  3. Me too – thank you!

  4. Thanks a lot!

  5. Thanks a lot, it did really help!!

  6. thanks mate!

Leave a Reply