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.
source share