ht://Dig Installation Guide

This document is showing the steps needed to build and install the ht://Dig system.
The main sections are:

Downloading and Extracting  ht://Dig 3.1.5

Configure and Compile ht://Dig 3.1.5

Once the distribution has been extracted, change to the newly created directory.
In this directory you will need execute the configure program:

%./configure --prefix=/YOUR_HOME_PATH/htdig 




After this, you may wish to edit the file CONFIG. There are several values which you need to change in this file.

Now build the complete system with

% make

Install  ht://Dig 3.1.5

Everything should have built at this point. To install the software, you need to execute

% make install

% make clean (optional)

This will perform several tasks. It will first attempt to create the directories that you specified in the CONFIG file. It will then copy the following programs to the BIN_DIR directory you specified in the CONFIG file:

It will also copy the htsearch program to your CGIBIN_DIR directory.

The only thing left to do is to modify the htdig.conf config file which was placed in /YOUR_HOME_PATH/htdig/conf directory. 

start_url:        http://yourwebserver/

Building the database and Testing

After setting up all the configuration files, you can build the required databases simply by running rundig.

%cd bin


Now you can search your web site from


See Sample ht://Dig Search Engine

The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees