XML is a standard for building structured documents based on markup containing the data.
The libxml2 library was written in pure C to allow easy reuse across various platforms, including embedded systems.
Let’s get our hands dirty!
Visit the website and download the latest stable version:
http://www.xmlsoft.org/downloads.html
Open the terminal and enter the directory where the library was saved:
| |
Extract the file into the "/opt" directory:
| |
Enter the directory where the file was extracted:
| |
For a standard installation run the command below, you can change the installation directory if you want.
| |
Now just install:
| |