I'm trying to install libxslt on Ubuntu for Apache2, and I cannot find a way to do so. There is no package for it, so how do I do it?


Built from the libxslt source package is libxslt1.1

sudo aptitude install libxslt1.1

Alternative, you can download a .deb from http://packages.ubuntu.com/karmic/libxslt1.1

You might also want the development package, libxslt1-dev

sudo aptitude install libxslt1-dev

or http://packages.ubuntu.com/karmic/libxslt1-dev

| improve this answer | |
  • It installed fine, now how do I enable it for Apache/PHP use? My phpinfo() output does not include it. – user32730 Jan 24 '10 at 17:55
  • 1
    You need the php5-xsl package: sudo aptitude install php5-xsl – Fahad Sadah Jan 24 '10 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy