SymptomsThe 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.
ResolutionUse 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
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 /tmpReplace <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.