2 INSTALL file for the DocBook XSL stylesheets distribution
4 ----------------------------------------------------------------------
5 Case #1: Installation using a package management system
6 ----------------------------------------------------------------------
7 If you have installed the DocBook XSL distribution using "apt-get",
8 "yum", "urpmi", or some similar package-management front-end,
9 then, as part of the package installation, the stylesheets have
10 already been automatically installed in the appropriate location
11 for your system, and your XML catalog environment has probably
12 been updated to use that location.
14 ----------------------------------------------------------------------
15 Case #2: Installing manually
16 ----------------------------------------------------------------------
17 If you have downloaded a docbook-xsl zip, tar.gz, or tar.bz2
18 file, use the following steps to install it.
20 1. Move the zip, tar.gz, or tar.bz2 file to the directory where
21 you'd like to install it (not to a temporary directory).
23 2. unzip or untar/uncompress the file
25 That will create a docbook-xsl-$VERSION directory (where
26 $VERSION is the version number for the release).
28 The remaining steps are all OPTIONAL. They are intended to
29 automatically update your user environment with XML Catalog
30 information about the DocBook XSL distribution. You are NOT
31 REQUIRED to complete these remaining steps. However, if you do
32 not, and you want to use XML catalogs with the DocBook XSL
33 stylesheets, you will need to manually update your XML catalog
36 3. Change to the docbook-xsl-$VERSION directory and execute the
41 That will launch an interactive installer, which will emit a
42 series of prompts for you to respond to.
44 To instead run it non-interactively without being prompted
45 for confirmation of the changes it makes, invoke it with the
46 "--batch" switch, like this:
50 After the process is complete, the installer will emit a
51 message with a command you need to run in order to source
52 your environment for use with the stylesheets.
54 4. To test that he installation has updated your environment
55 correctly, execute the test.sh script:
59 That will test your XML catalog environment, using both the
60 xmlcatalog application and the Apache XML Commons Resolver.
62 NOTE: The test.sh file is not created until the install.sh
63 file is run for the first time.
65 5. (UNINSTALLING) If/when you want to uninstall the release,
66 execute the uninstall.sh script.
70 To instead run it non-interactively without being prompted
71 for confirmation of the changes it makes, invoke it with the
72 "--batch" switch, like this:
74 ./uninstall.sh --batch
76 NOTE: The uninstall.sh file is not created until the install.sh
77 file is run for the first time.
80 ----------------------------------------------------------------------
82 ----------------------------------------------------------------------
83 The install.sh, .CatalogManager.properties.example, and .urilist
84 files should not be packaged. They are useful only to users who
85 are installing the stylesheets manually.
87 The catalog.xml file should be packaged.