1 Installation on UNIX systems 1.1 Direct installation from source 1.2 Installation via RPM 1.3 Installation via DEB 2 Installation on Windows systems 1 Installation on UNIX systems ============================== 1.1 Direct installation from source ----------------------------------- After unpacking the software change into the source directory and run ./configure make make install For help on configure script options, run ./configure --help If you have LPRng installed and you want to use printqd, see the ``CONFIGURATION'' section in printqd(1). Some directories may need ownership and permissions correction. 1.2 Installation via RPM ------------------------ If you are building a package for an ``official'' Linux distribution: If the distribution includes the LPRng software, find user and group name used to run the LPRng lpd daemon and activate and correct LPUSER and LPGROUP in the dktools.spec file in the LINUX DISTRIBUTION PACKAGERS section. Manual steps ~~~~~~~~~~~~ The archive contains *.spec files for Scientific Linux (should work on other Enterprise Linux clones too) and Fedora core. Copy the *.spec file to ~/rpmbuild/SPECS and the dktools-*.tar.gz file to ~/rpmbuild/SOURCES. Change into the ~/rpmbuild/SPECS directory and run rpmbuild -ba dktools.spec You must be root to install the *.rpm file, change into the rpmbuild/RPMS/ directory and run rpm --force -Uhv dktools--.rpm dktools-debuginfo-.rpm Use scripts ~~~~~~~~~~~ The scripts below were created and tested on Scientific Linux 6. As root run ./sl6-prepare.sh to install development tools and development files for required libraries. As non-privileged user run ./sl6-build-rpm.sh to build the RPM file. 1.3 Installation via DEB ------------------------ The archive contains a ``debian'' subdirectory and two scripts to create a *.deb package. The scripts were created and tested on Debian Jessie. If you are building a package for an ``official'' Linux distribution: If the distribution includes the LPRng software, find user and group name used to run the LPRng lpd daemon and activate and correct LPUSER and LPGROUP in the debian/postinst file in the LINUX DISTRIBUTION PACKAGERS section. As root run: ./debian-jessie-prepare.sh to install required packages (development tools, development packages for used libraries). As non-privileged user run: ./debian-jessie-build-deb.sh to build the *.deb files. You should find several *.deb files in the parent directory: (1) dktools-lib-data_x.y.z-1_all.deb Data files for the DK tools shared libraries. (2) dktools-data_x.y.z-1_all.deb Data files for the DK tools programs. (3) dktools-lib-x.y_x.y.z-1_arch.deb The DK tools shared libraries. (4) dktools_x.y.z-1_arch.deb The DK tools programs (requires 1, z, and y). (5) dktools-dev_x.y.z-1_arch.deb DK tools developer support (requires 1, 2, and 3). On normal systems install (1), (2), (3), and (4). For development install (5) too. 2 Installation on Windows systems ================================= Windows users should obtain dktools-win64-*.exe from the dktools project at SourceForge, see http://sourceforge.net/projects/dktools for the download. Run the installer and follow the instructions. See http://dktools.sourceforge.net/install.html for details about the installation process.