Computing.Net > Forums > Solaris > gzip error

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

gzip error

Reply to Message Icon

Name: Sen
Date: January 18, 2003 at 21:30:09 Pacific
OS: solaris 8
CPU/Ram: P4
Comment:

when i try to run gzip xxx.xxx.tar.gz
it says gzip: not found
but i can see the application in \usr\local\bin
any idea??

i am running solaris 8




Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: January 18, 2003 at 21:54:11 Pacific
Reply:

if you type

set

does /usr/local/bin show up in your PATH?

you could always use the full path name to an executable
/usr/local/bin/gzip filename

and oh by the way, you want to gunzip a file that is already compressed.


0

Response Number 2
Name: zoozle
Date: January 19, 2003 at 04:52:46 Pacific
Reply:

Try the command:

which gunzip

If it comes back with "no gunzip in PATH" then you need to add it to your PATH variable by editing your environment file - depends on what shell you are using and could be /.cshrc, /.profile, /.bashrc etc.

Once you have fixed the path problem, type:

gzcat xxxx.tar.gz | tar xf -

and the file will be extracted into the local directory.

Even if you don't fix the PATH problem, you can specifiy the complete path, e.g.

/usr/local/bin/gzcat xxxx.tar.gz | tar xf -



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: gzip error

bootblk error on Solaris 8 install www.computing.net/answers/solaris/bootblk-error-on-solaris-8-install/2105.html

Gunzip the oracle file www.computing.net/answers/solaris/gunzip-the-oracle-file/1218.html

lp error as NFS user on NFS mount www.computing.net/answers/solaris/lp-error-as-nfs-user-on-nfs-mount/2846.html