Step 2 - Installing on a RedHat-type system |
Some Linux distributions may come with RPMs for Jade and most of the packages that are needed for DocBook operation are not KDE-specific. Your distribution's packages are most likely out of date and will not include the right version of the DocBook DTD or the latest version of the style sheets. Furthermore, you may have to tinker quite a bit to successfully add the KDE customizations to another distribution. Therefore, we highly recommend you uninstall any previous installation before reinstalling according to the directions given in the next sections.
If you are on a RedHat-like system, you can guess what is already installed by using a graphical package manager or with the following command lines:
rpm -qa | grep jade rpm -qa | grep docbook rpm -qa | grep sgml
and you may then remove them using the command:
rpm -e <packagename>
NOTE: There are often a lot of dependent packages for these docbook tools. You will need to remove all the depencancies before you remove the main package. It is often easiest to start at the bottom of the list given in next section, and work your way up, rather than from the top down (you will have fewer dependency problems).
Install the RPM files using a package graphical installer like kpackage, or the following command-line instruction:
rpm -ih <filename>.rpm
For example:
rpm -ih sgml-common-0.3-1.noarch.rpm
Install the packages in the following order:
sgml-common
jade
jadetex
docbook-dtd31-sgml
docbook-style-dsssl
perl-SGMLSpm
docbook-utils
Now the basic tools are installed, you must add the KDE specific stuff.
Click on
Step 3 - installing the KDE-specific stuff
to move to the next page, or return to the main page.