1
0

INSTALL 3.3 KB

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