How to install libxml2 in unix
Here's a way to install from source - given by good folks at Cypress project.
https://github.com/projectcypress/cypress/wiki/Cypress-v2.0-Installation-Guide
---- for easy reading: copied from above URL ----
cd /tmpwget ftp://xmlsoft.org/libxml2/libxml2-2.8.0.tar.gztar xzf libxml2-2.8.0.tar.gzcd libxml2-2.8.0/./configuremakesudo make installcd
Read the installation instructions that come with libxml2 in the file INSTALL
.If you find any file or directory with the substring libxml2
in /usr/local/include
or /usr/local/lib
(such as /usr/local/lib/libxml2.so
) then it is already installed.
Depending on the particular Unix brand (which you did not tell us), you might need to look in other directories as well.