Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save badzil/822697 to your computer and use it in GitHub Desktop.
Save badzil/822697 to your computer and use it in GitHub Desktop.
Original inspiration found here:
http://www.openerp.com/forum/topic21864.html
== Install libxml2 ==
$ wget ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.8.tar.gz
$ tar xvf libxml2-sources-2.7.8.tar.gz
$ cd libxml2-2.7.8/
$ ./configure --with-python=/usr/bin/python2.6
$ make
$ make install
This installs the libxml2 libraries in /usr/lib/python2.6/site-packages/
== Install libxslt ==
$ wget ftp://xmlsoft.org/libxml2/libxslt-1.1.26.tar.gz
$ tar xvf libxslt-1.1.26.tar.gz
$ cd libxslt-1.1.26/
$ ./configure --with-python=/usr/bin/python2.6 --with-libxml-src=<path to libxml2 sources directory>
$ make
$ make install
This installs the libxslt libraries in /usr/lib/python2.6/site-packages/
@chuanliu77
Copy link

This worked perfectly. Thank you!

@gitkane
Copy link

gitkane commented Apr 7, 2015

Thank you this worked finally for NMAP on Cent OS 6.4 for my amazon AWS ami machine for nmap scan reports like so
sudo ./tmp/nmap-6.47/nmap --script discovery www.anysite.com -T 5 --webxml -oX - | xsltproc --output /tmp/file.html -

@apishops
Copy link

apishops commented Feb 9, 2016

It's awesome. Thanks!

@batistalucas
Copy link

thank u, still working in 2020 at ubuntu 18 server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment