Instructions for downloading Senzing RPMs and installing the Senzing API from the downloaded RPMs.
-
✏️ Specify the directory where Senzing RPM should be downloaded on the local host. Example:
export SENZING_RPM_DIR=~/Downloads
-
Run the docker container. This will download the RPM files. This step only needs to be performed once for each version of the Senzing RPM. If the files were previously downloaded, skip to RPM filenames section. Example:
sudo docker run \ --rm \ --volume ${SENZING_RPM_DIR}:/download \ senzing/yumdownloader
-
Identify the downloaded filenames. Example:
cd ${SENZING_RPM_DIR} ls -latr
The files should be near the bottom of the list.
-
✏️ Specify the Senzing RPM filenames. Example:
export SENZING_API_RPM=senzingapi-3.5.1-23104.x86_64.rpm export SENZING_DATA_RPM=senzingdata-v4-4.0.0-23084.x86_64.rpm
-
✏️ Specify the directory where Senzing should be installed on the local host. Example:
export SENZING_VOLUME=/opt/my-senzing
⚠️ macOS - File sharing must be enabled forSENZING_VOLUME
.⚠️ Windows - File sharing must be enabled forSENZING_VOLUME
.
-
Identify directories on the local host. Example:
export SENZING_DATA_DIR=${SENZING_VOLUME}/data export SENZING_DATA_VERSION_DIR=${SENZING_DATA_DIR}/1.0.0 export SENZING_ETC_DIR=${SENZING_VOLUME}/etc export SENZING_G2_DIR=${SENZING_VOLUME}/g2 export SENZING_VAR_DIR=${SENZING_VOLUME}/var
To use the Senzing code, you must agree to the End User License Agreement (EULA).
-
⚠️ This step is intentionally tricky and not simply copy/paste. This ensures that you make a conscious effort to accept the EULA. Example:export SENZING_ACCEPT_EULA="<the value from this link>"
-
⚠️ Remove existing Senzing installation. IfSENZING_VOLUME
set incorrectly, this could be dangerous. So the first step is to verify the value ofSENZING_VOLUME
. Example:echo ${SENZING_VOLUME}
If
SENZING_VOLUME
has the correct value, the next step is to delete the directory. Example:sudo rm -rf ${SENZING_VOLUME}
-
Run docker container to install Senzing. Example:
sudo docker run \ --env SENZING_ACCEPT_EULA=${SENZING_ACCEPT_EULA} \ --rm \ --volume ${SENZING_DATA_DIR}:/opt/senzing/data \ --volume ${SENZING_G2_DIR}:/opt/senzing/g2 \ --volume ${SENZING_ETC_DIR}:/etc/opt/senzing \ --volume ${SENZING_VAR_DIR}:/var/opt/senzing \ --volume ${SENZING_RPM_DIR}:/data \ senzing/yum -y localinstall /data/${SENZING_API_RPM} /data/${SENZING_DATA_RPM}
-
Once complete, the Senzing API will be installed into
${SENZING_VOLUME}
.