The K Desktop Environment

2.2. Installation

2.2.1. Supported Environments

KDOC requires Perl 5.004 to function. Most environments where this is installed are supported by KDOC.

KDOC has been reported to run to some extent on Win32 (NT/95/98), but you may encounter some problems with filenames. Also, you will probably have to hack the install scripts and file locations manually since the configure script only works on UNIX.

2.2.2. Building the distribution

The procedure for building KDOC is similar to most other GPL programs that come with a configure script.

  1. Unpack the distribution

    Unpack the distribution into a temporary directory. It will extract itself into its own directory. If you have downloaded the tar.bz2 version:
     # bunzip2  kdoc-2.0a1.tar.bz2 | tar xf -

    Or if you have downloaded the tar.gz version:
     # gunzip  kdoc-2.0a1.tar.gz | tar xf -

    Replace the distribution file name in the above procedure with the one you have downloaded.

  2. Build the application

    This will configure KDOC to install itself in /usr/local/:
     # cd kdoc-2.0a1
     # ./configure

    To install it in a different directory, say /opt/kdoc, add a prefix option to configure like this:
     # ./configure --prefix=/opt/kdoc

  3. Perform the installation

     # make; make install
  4. Remove the temporary directory

     # cd ..
     # rm -rf kdoc-2.0a1

Now kdoc should be installed on your system.