How to install libxml2 on unix

Will someone tell me how to install libxml2 on Unix? I use windows to browse the web and Unix to write my C programs. I also don't know if it is installed. Please tell the guys how to install libxml2 and use it for parsing.

+4
source share
2 answers

Check out the installation instructions that come with libxml2 in the INSTALL file. If you find any file or directory with the substring libxml2 in /usr/local/include or /usr/local/lib (for example, /usr/local/lib/libxml2.so ), then it is already installed.

Depending on the specific Unix brand (which you did not tell us), you may also need to look in other directories.

+3
source

Here you can set the source from the source provided by good people in the Cypress project.

https://github.com/projectcypress/cypress/wiki/Cypress-v2.0-Installation-Guide

---- For easy reading: copied from the above URL ----

 cd /tmp wget ftp://xmlsoft.org/libxml2/libxml2-2.8.0.tar.gz tar xzf libxml2-2.8.0.tar.gz cd libxml2-2.8.0/ ./configure make sudo make install cd 
+7
source

All Articles