Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
Table of Contents
maxlevel2

...

Step 1

Download the appropriate tar file for the target platform:

SAP_NW_RFC_Lin_x64.tar or SAP_NW_RFC_Lin_x86.tar (64-bit and 32-bit respectively)

Step 2

Create the /usr/local/lib/sap/ directory for the SAP libraries to reside in.

md /usr/local/lib/sap

Step 3

Copy the RFC tar file into the directory (from Step 2) and extract the contents:

$tar -xvf SAP_NW_RFC_Lin_x64.tar

Step 4Put the library files into a $LD_LIBRARY_PATH folder.
Step 5

Add LIBRARY_PATH and PATH to /etc/profile:

  • export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/sap"
  • export PATH=$PATH:/opt/universal/opscli/bin/:/opt/universal/usap/bin/:/root/startup/

...

Step 1

Download the appropriate tar file for the target platform:

SAP_NW_RFC_Lin_x64.tar or SAP_NW_RFC_Lin_x86.tar (64-bit and 32-bit respectively)

Step 2

Create the /usr/local/lib/sap directory for the SAP libraries to reside. 

REQUIRED, MUST MATCH THIS NAME:

md /usr/local/lib/sap

Step 3

Copy the RFC tar file into the directory from Step 2 and extract the contents:

$tar -xvf SAP_NW_RFC_Lin_x64.tar

Step 4Put the library files into a $LD_LIBRARY_PATH folder.
Step 5

Add the path from Step 2 to the LD_LIBRARY_PATH environment variable

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/sap"

Step 6

To maintain the LD_LIBRARY_PATH setting across sessions, place the export line from Step 4 into your profile.

Example: Add LD_LIBRARY_PATH to /etc/profile.local.

Note
titleNote

If /etc/profile.local does not exist, create it and exit from the user session to re-source the new profile.


...