16.20 - Decompressing Files on a UNIX/LINUX System - Electronic Software Distribution

Electronic Software Distribution Guide

Electronic Software Distribution
February 2018
User Guide

Use this procedure to decompress files on a UNIX/LINUX system.

  1. At the command prompt, enter the following command to obtain a checksum on each downloaded file: cksum <file name>

    where <file name> is the filename output from the directory listing.

  2. Compare the calculated number with the checksum number embedded in the file name.
  3. Do one of the following:
    • If the numbers match, the FTP process was successful. Go to the next step.
    • If the checksum does not match, return to File Download, download the file again and restart this procedure.
  4. Use the appropriate decompression command based on the executables present on the system.
    • If gzcat is present, enter the following at the command prompt:

      gzcat <file name>.tar.gz | tar -xvf -

    • If gzcat is not present, enter the following at the command prompt:

      gunzip <file name>.tar.gz tar xvf <file name>.tar

    Because the downloaded files were created on a different system with a different user and group name, messages reflecting unknown groups and users might appear when the files are decompressed. These messages are alerts, not errors, and will not prevent the software from installing correctly.
  5. Repeat steps 1 through 4 for each of the compressed files.