Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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

share|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
You need the php5-xsl package: sudo aptitude install php5-xsl –  fahadsadah Jan 24 '10 at 18:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.