Article ID: 116296, created on Jun 19, 2013, last review on Apr 30, 2014

  • Applies to:
  • Business Automation 5.x

Symptoms

The PBA for Linux installer is shipped as a shell script that contains all RPM packages right in the script body.

A Provider wants to extract some or all of the RPM packages from PBA for the Linux installer script.

Resolution

Use one of the methods below to extract RPM packages from PBA for the Linux installer script.

1. Upload PBA for the Linux installer script onto any Linux machine -- it may be the PBA server itself or any other Linux machine. Log in to the machine where the PBA installer was uploaded, and run the installer from the folder where it is located, e.g.:
# LANG=UTF8 sh ./pba-installer-5.4.8-016.el4.i686.sh
Do nothing in the PBA installer wizard. The installer will unpack all files into the /tmp/pba-installer/ folder on the server where it is run, so open another console session to the Linux machine where you ran the PBA installer and copy the needed packages from /tmp/pba-installer to the desired place. Finally, close the installer using the Cancel button on the very first step in the installation wizard.

2. As mentioned above, all RPM packages are contained in the PBA for Linux installer as a TAR archive (after the small shell script code). Find the size of the TAR archive: it is the tar_size variable right in the shell script. Use a command like the one below to find the needed value:
# head -n 10 pba-installer-5.4.8-016.el4.i686.sh | grep tar_size
tar_size=160532480

Then use a command like the following to extract the RPM packages from the installer script:
# tail -c <TAR_SIZE> ./pba-installer-5.4.8-016.el4.i686.sh | tar x -C /tmp Replace <TAR_SIZE> with the actual value found in the previous step.

The command above will extract all RPM packages from PBA for the Linux installer into the /tmp/pba-installer folder.

92711db0799e8aefe8e51f12dace0496 caea8340e2d186a540518d08602aa065 198398b282069eaf2d94a6af87dcb3ff e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF