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