Go to the first, previous, next, last section, table of contents.


UNIX

Select an existing directory in a writable file system for the installation; `/usr/local/src' is a good choice in most cases. Make sure that at least 6 megabytes are available (most of this space can be recovered after the installation is complete).

If you are installing the software from a CD-ROM, copy the contents of the `src/db' directory to your writable file system. One way to do this is to change to the `src' directory on the CD-ROM and then to type:

tar cfv - db | ( cd /usr/local/src; tar xfv - )

To save space, you may prefer to make symbolic links (if your system supports them) from the CD-ROM files to `/usr/local/src'.

If you have obtained the DB Software Package on a diskette, copy the file `db-tar.z' from the diskette to your writable file system. (Note that `db-tar.z' is a binary file; do not remove carriage return characters from it as you would normally do if copying an MS-DOS text file.) Now type:

uncompress <db-tar.z | tar xfv -

This command unpacks the archive into a directory called `db'. You may remove `db-tar.z' from your hard disk now if you wish. (If you don't have `uncompress' or `tar', unpack the archive on a PC using the MS-DOS installation procedure below; you will be given an opportunity to stop once the archive has been unpacked. Copy the entire contents of the `db' directory to your UNIX file system, treating all files as binary files.)

Change to the `db' directory on your hard disk:

cd db

Type the following command to rename some of the files for UNIX:

sh setunix

Follow the instructions in file `UNIX.TXT', within the `db' directory, to complete the installation. (In most cases, this requires only reading `Makefile', changing the site-dependent variables defined there as appropriate for your system, then typing `make'. Depending on the speed of your system and of your C compiler, `make' will generally require between 5 and 15 minutes.)


Go to the first, previous, next, last section, table of contents.



George B. Moody (george@hstbme.mit.edu)