Reputation: 831
I am trying to install plone on ubuntu
I have downloaded and extracted the installer file.
When I type: ./install.sh standalone
I get the following message:
Plone installation requires the development versions of libxml2 and libxslt.
libxml2 must be version 2.7.8 or greater; libxslt must be 1.1.26 or greater.
Ideally, you should install these as dev package libraries before running install.sh.
I then tried to run: sudo apt-get install libxslt
(and same for libxml2 whic worked).
I am getting the message: E: Unable to locate package libxslt
Is there another package I must install that supports the libxslt, or how can I go about this?
Upvotes: 1
Views: 546
Reputation: 4422
If you are using Ubuntu/Debian you can run the following command to install the dependencies:
sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev
Upvotes: 2
Reputation: 46
On my Ubuntu system, there is a package named libxslt1.1
. You can try installing that one. If that doesn't work, try one of the dev packages, libxslt-dev
or libxslt1-dev
.
Upvotes: 3
Reputation: 7727
I think in any case you would need libxml2-devel
and libxslt-devel
(or -dev
? It's possible that different distributions have different conventions for this.) This related answer suggests the package name might be libxslt1-dev
.
If all else fails, but this is somewhat frowned upon, the installer has a last resort option:
--static-lxml
Forces a static built of libxml2 and libxslt dependencies. Requires Internet access to download components.
(But this cuts you off from all future security updates etc. in libxml and lixslt2.)
Upvotes: 5