How to extract .gz file and install cURL

5 pts.
Tags:
cURL
File compression
GNU zip
gzip files
Linux command line
Unix command line
(1) I have downloaded the curl for Solaris 9 at ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/curl-7.19.4-sol9-sparc-local.gz into my windows PC. Then I upload it into my remote Solaris 9 server at /home/myhome. (2) then I login to remote server and issue the command in my home directory $gunzip curl-7.19.4-sol9-sparc-local.gz (3) then I find the result of the above command is that the file curl-7.19.4-sol9-sparc-local.gz become gunzip curl-7.19.4-sol9-sparc-local without .gz (3) but this is not I want, how can the file is not be extracted? (4)By the way, how to unzip the file with .gz extention and how to install the program properly? Thank you in adance!!
ASKED: March 29, 2009  2:57 AM
UPDATED: March 31, 2009  4:36 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You’re on the right track. After you unzip, if you do “file curl-7.19.4-sol9-sparc-local” the result will proably be something like “curl-7.19.4-sol9-sparc-local: pkg Datastream (SVR4)”. (The “file” command tells you what kind of file you’re dealing with.)

So, this is a Sun Solaris package file meant to be used with the Sun “pkg” suite of commands:

pkgadd pkgadd (1m) – transfer software packages to the system
pkgadm pkgadm (1m) – manage packaging and patching system
pkgask pkgask (1m) – stores answers to a request script
pkgchk pkgchk (1m) – check package installation accuracy
pkginfo pkginfo (1) – display software package information
pkginfo pkginfo (4) – package characteristics file
pkgmap pkgmap (4) – package contents description file
pkgmk pkgmk (1) – produce an installable package
pkgparam pkgparam (1) – display package parameter values
pkgproto pkgproto (1) – generate prototype file entries for input to pkgmk command
pkgrm pkgrm (1m) – remove a package from the system
pkgtrans pkgtrans (1) – translate package format

Look at the man pages for these commands to see what they do. If you system doesn’t have man pages, go to docs.sun.com. You can also search things like “Solaris 5.9 package installation” there and get a ton of information.

Basically, you’ll do a pkgchk to verify the integrity of the package and a pkgadd to add it to your system.

Regards

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following