#### Custom Installation Procedure

Important: This custom installation procedure is reserved for those users that need to change a portion of the installation procedure or its contents in their specific environment. Reasons might include a need to change the directory where files are installed, or to modify the source code. Modifications to the source package may cause Digi to refuse support for that package in that environment.

See Package Version and Revision for important information on entering commands in this procedure.

1. Download the RPM package. The RPM package can be found on Digi's web site, www.digi.com, or Digi's ftp site, ftp.digi.com/support/drivers/linux. For consistency, you might consider downloading the source RPM to the directory /usr/src/redhat/SRPMS.
2. Install the source code in the SOURCES directory used by RPM (/usr/src/redhat/SOURCES) with this command:

   `rpm -ivv epca-version-revision.src.rpm`

   This command also copies the specification file (/usr/src/redhat/SPECS/epca-version.spec) to the SPECS directory.

3. Use the RPM tools to open the source archive with these commands:

   `cd /usr/src/redhat/SPECS`

   `rpm -bp epca.spec`

   The `-bp` option specifies that only the preparation section (%prep) of the specification file should be executed. This might result in the source files being uncompressed, removed from the archive, and placed in the following directory:

   /usr/src/redhat/BUILD/epca-version-revision

4. Modify the source files and/or the specification file as required. The source files are found in the directory

   /usr/src/redhat/BUILD/epca-version-revision

   The specification file is named:

   /usr/src/redhat/SPECS/epca.spec

   Important: You should save the original version of any file that you change, plus the final versions of the files after you make and test your changes. These backup copies should be placed somewhere other than in the /usr/src/redhat tree.

   Important: If you change the final location of any of the files in the package, you must also update the %file list in the specification file. Otherwise, you will get a message that the installation was incomplete, because some files were not found.

   Recommended: It is recommended that you document your changes in the %description section of the specification file.

5. The easiest method for building and installing the modified package is to first replace the Digi TGZ archive with a new one including your changes. Replace the archive by doing the following:
   1. Change to the appropriate directory:

      `cd /usr/src/redhat/BUILD`

   2. Create a compressed archive of the source files by entering the following command (on a single line):

      `tar -cavzf ../SOURCES/epca-version-revision.tgz epca-version-revision/*`

   Once the TGZ file has been replaced, you can proceed with step 3 of the Standard Installation Procedure.