Line 739: uncompress: command not found

Document ID : KB000089807
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Line 739: uncompress: command not found
Resolution:
Detailed Description and Symptoms
An Install/Upgrade aborts with an error in the aw_install.log file like the following:

Extracting install scripts
cat LB_lxr73.Z|uncompress|tar xvf - c/gethost c/myzone c/change_awenv 
c/perl
/tmp/xx/v7/cdinst.sh: line 739: uncompress: command not found
tar: c/gethost: Not found in archive
tar: c/myzone: Not found in archive
tar: c/change_awenv: Not found in archive
tar: c/perl: Not found in archive
tar: Error exit delayed from previous errors
/tmp/xx/v7/cdinst.sh: line 749: java: command not found
Java not found. Running jinstall.sh to install java.
executing /tmp/xx/v7/jinstall.sh auto

Investigation
This error indicates the user does not have a basic decompression program installed on their OS

Solution

If you have gzip on your machine ( to check type $which gzip), then you can use that. You'd create a script called 'uncompress' either in /usr/bin or somewhere in path. And have that script call gzip:

gzip d $*

Then when you run cat <filename>|uncompress|tar xvf (either manually or as our installation does), it will use the 'uncompress' script you created and will extract the files.

Or
Install the compress/uncompress utilities from the Linux distribution. The utilities are usually in a package called ncompress.