Installing the AP C Protector
Extracting the Setup Scripts and Package
To extract the setup scripts and package:
- Download the
ApplicationProtector_Linux-ALL-64_x86-64_GCC-9.3.1_<version>.tgzfile to any location on the machine where you want to install the protector. - Extract the AP C installation package using the following command.The following setup files are extracted:
tar –xvf ApplicationProtector_Linux-ALL-64_x86-64_GCC-9.3.1_<version>.tgzApplicationProtector_Linux-ALL-64_x86-64_GCC-9.3.1_<version>.tgzsignatures/ApplicationProtector_Linux-ALL-64_x86-64_GCC-9.3.1_<version>.sig
- Verify the digital signature of the signed AP C build.
For more information about verifying the signed AP C build, refer to Verification of Signed Protector Build. - Extract the AP C installation package again using the following command.The following setup files are extracted:
tar –xvf ApplicationProtector_Linux-ALL-64_x86-64_GCC-9.3.1_<version>.tgzLogforwarderSetup_Linux_x64_<version>.shRPAgentSetup_Linux_x64_<version>.shXCDevSetup_Linux_x64_<version>.shXCSamplesSetup_Linux_x64_<version>.sh
Installing Log Forwarder on Linux
The steps to install the Log Forwarder on a Linux platform using the Interactive mode or through the Silent mode are described in this section.
Note: To preserve all the configurations while upgrading the Log Forwarder, ensure that you backup all the files present under the
/opt/protegrity/logforwarder/data/config.ddirectory.
For more information about installing Log Forwarder on Linux, refer to Installing Log Forwarder on Linux.
Using Interactive Mode
For more information about installing the Log Forwarder using Interactive Mode, refer to Installing Log Forwarder on Linux using Interactive Mode.
Using Silent Mode
For more information about installing Log Forwarder using the silent mode, refer to Installing Log Forwarder on Linux using Silent Mode.
Installing RP Agent on Linux
The steps to install the RP Agent on a Linux platform using the Interactive mode or through the Silent mode of installation are described in this section.
For more information about installing RP Agent, refer to Installing RP Agent on Linux or Unix.
Using Interactive Mode
For more information about installing RP Agent on Linux using Interactive Mode, refer to Installing RP Agent on Linux or Unix using Interactive Mode.
Using Silent Mode
For more information about installing RP Agent using Silent Mode, refer to Installing RP Agent on Linux or Unix using Silent Mode.
Installing Application Protector C on Linux
The steps to install the AP C on a Linux platform using the Linux installer or through the Silent mode of installation, are described in this section.
Using Linux Installer
To install the AP C on the Linux platform using the Linux installer:
Run the AP C installer using the following command.
./XCDevSetup_Linux_x64_<version>.shThe prompt to continue the installation appears.
***************************************************** Welcome to the C SDK Setup Wizard ***************************************************** This will install the XCDev on your computer. Do you want to continue? [yes or no]If you want to continue with the installation of the XCDev, then type yes else type no.
If you type yes, then the prompt to enter the installation directory appears.
Enter installation directory. A new directory will be created in the installation directory. [/opt/protegrity]:If you type no, then the installation of the XCDev aborts.
Note:
Thexcpep.plmfile is installed in the/opt/protegrity/sdk/c/bindirectory.The
xcpep.plmfile is a shared library that is required for compiling the applications which use AP C APIs. Link your application to thexcpep.plmfile.The default installation directory for the XCDev on a Linux platform is
/opt/protegrity/sdk/c.Run the AP C sample installer using the following command.
./XCSamplesSetup_Linux_x64_<version>.shThe prompt to continue the installation appears.
***************************************************** Welcome to the C SDK Samples Setup Wizard ***************************************************** This will install XCSamples on your computer. Do you want to continue? [yes or no]If you want to continue with the installation of the XCSamples, then type yes else type no.
If you type yes, then the prompt to enter the installation directory appears.
Enter installation directory. A new directory will be created in the installation directory. [/opt/protegrity]:The XCSamples are installed in
/opt/protegrity/sdk/cby default.If you type no, then the installation of the XCSamples aborts.
The following samples are installed in the
/opt/protegrity/sdk/c/samples/directory:xcapcsample/xccsharpsample/
- Sample codes support Token DEs only.
- To use FPE and Unicode Gen2 DEs, user needs to make use of
ui4CharSetfield inXC_PARAM_EX. For more information aboutui4CharSetfield, refer to values supported forui4CharSetfield.
For more information about the samples, refer to the
readme.txtfile located in the respective sample directories.Note:
- For C# (.NET) development, Protegrity recommends using the Application Protector for .NET.
The AP C is successfully installed.
Using Silent Mode
You can also execute the AP C installer without any manual intervention, which is also known as the Silent mode of installation. The following parameter must be provided to execute the installer in the Silent mode.
| Parameter | Description |
|---|---|
| -dir | Optional install directory Default: /opt/protegrity |
- Run the AP C installer using the following command.
./XCDevSetup_Linux_x64_<version>.sh [-dir <directory>]
The following output appears.
XCDev installed in `/opt/protegrity/sdk/c`.
- Run the AP C sample installer using the following command.
./XCSamplesSetup_Linux_x64_<version>.sh [-dir <directory>]
The following output appears.
XCSamples installed in `/opt/protegrity/sdk/c`.
Feedback
Was this page helpful?