Uncompress .Z files

Rick Stevens rstevens at vitalstream.com
Tue Mar 6 18:25:24 UTC 2007


On Tue, 2007-03-06 at 10:05 -0800, Leslie Jordan wrote:
> I need to uncompress a .Z file, and realize I need to install a
> package. I can not seem to find the right package to install online
> and a lot of download sites give me a 505 error when I try to download
> a package. I am running Red Hat 5.2.1. 
> 
> I have tried installing the following packages and neither have
> worked:
> ncompress-4.2.4-15.src.rpm  
> ncompress-4.2.4-9.src.rpm
> 
> I used the command 
> rpm -i <package_file>
> This seems to install this package ncompress-4.2.4-15.src.rpm, but I
> can still not use 'uncompress' or locate the command on my system.
> The second package fails completely.
> rpm -i <package_file> is all I have to do right?

You don't want to install the .src.rpm files, just the .rpm files.
.src.rpm files contain the source code to the package that you then have
to build.

> Does anyone have any idea what the right package for me to install is
> and where I can find a working link to it? 

If you're registered with up2date, just "up2date -i ncompress" should do
it.  The program involved is "/usr/bin/compress".  There is a symlink to
it, "/usr/bin/uncompress".  compress will do uncompress if called by
that name.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer          rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-              Never eat anything larger than your head              -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list