# libxml++
# ========
# Below I include the latest 1.x version and the latest 2.x version
# You can have both installed at the same time.
# If you ever need to uninstall libxml++, or clean up files from an
# old version before installing a new one, skip down to the bottom for
# instructions.
# If you ever want to uninstall libxml++ 1.x, this should do it:
cd
su
test -d src/libxml++-1.* && ( cd src/libxml++-1.* ; make uninstall )
test -d /usr/local/include/libxml++-1.0 &&
rm -f /usr/local/include/libxml++-1.0
rm -f /usr/local/lib/libxml++-1.* \
/usr/local/lib/pkgconfig/libxml++-1.0.pc
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libxml++-1.*" -exec rm -r {} \;
rm -f ~/installed/libxml++-1.*.tar.*
# If you ever want to uninstall libxml++ 2.x, this should do it:
cd
su
test -d src/libxml++-2.* && ( cd src/libxml++-2.* ; make uninstall )
find /usr/local/include -maxdepth 1 -type d -name "libxml++-2.*" \
-exec rm -r {} \;
find /usr/local/share/doc -maxdepth 1 -type d -name "libxml++-2.*" \
-exec rm -r {} \;
rm -f /usr/local/lib/libxml++-2.* /usr/local/lib/pkgconfig/libxml++-2.*.pc
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libxml++-2.*" -exec rm -r {} \;
rm -f ~/installed/libxml++-2.*.tar.*