# Note: depends on unzip # Note: depends on libxml2 wget -c http://docbook.org/xml/4.3/docbook-xml-4.3.zip mkdir -p docbook-xml-4.3 cd docbook-xml-4.3 unzip ../docbook-xml-4.3.zip mkdir -p /usr/share/xml/docbook cp -r . /usr/share/xml/docbook/xml-dtd-4.3 mkdir -p /etc/xml [ -e /etc/xml/catalog ] || xmlcatalog --noout --create /etc/xml/catalog xmlcatalog --noout --add "delegatePublic" "-//OASIS//DTD DocBook XML V4.3" "file:///usr/share/xml/docbook/xml-dtd-4.3/catalog.xml" /etc/xml/catalog