Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Built from the libxslt source package is libxslt1.1

sudo aptitude install libxslt1.1

Alternative, you can download a .deb from

You might also want the development package, libxslt1-dev

sudo aptitude install 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.