[ncl-install] Problem unzipping/untarring NCL setup file

Mary Haley haley at ucar.edu
Tue Jan 29 12:44:34 MST 2013


David,

You need to do " tar -xvf", and not just "tar".

> tar -xvf ~/cygwin/home/Book at Enigmatics-Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar

Please see the instructions at:

http://www.ncl.ucar.edu/Download/cygwin.shtml#InstallNCL

--Mary

On Jan 29, 2013, at 11:13 AM, David Book wrote:

> Mary . . .
> 
> Thanks for the suggestion about using a tilde. 
> 
> The name I gave my computer is "Book-Enigmatics." The prompt at my home directory reads
> 
> Book at Book-Enigmatics ~
> 
> (i.e., it displays a tilde), but the prompt after I cd to  /usr/local doesn't show a tilde:
> 
> Book at Book-Enigmatics /usr/local
> 
> I tried inserting the tilde in my command:
> 
> gunzip ~/cygwin/home/Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar.gz
> 
> and got this response (note the duplication in the path name):
> 
> gzip: /home/Book/cygwin/home/Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar.gz: No such file or directory
> 
> Likewise with
> 
> gunzip ~/cygwin/home/Book at Book-Enigmatics/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar.gz
> 
> But FWIW, when I tried
> 
> $ tar ~/cygwin/home/Book at Enigmatics-Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar
> 
> the response was
> 
> tar: Old option `g' requires an argument.
> Try `tar --help' or `tar --usage' for more information.
> 
> I am hopelessly at sea.
> 
> David
> 
> 
> 
> David L. Book 
> President, Enigmatics, Inc. 
> 
> 
> From: "Mary Haley" <haley at ucar.edu>
> Sent: Tuesday, January 29, 2013 6:40 AM
> To: davidbook at enigmatics.com
> Subject: Re: [ncl-install] Problem unzipping/untarring NCL setup file
> 
> 
> On Jan 26, 2013, at 7:36 PM, David Book wrote:
> 
> > I use Firefox as my browser and I'm running under Windows 7 on a 64-bit computer.
> > 
> > I downloaded and successfully started Cygwin/X. Using Windows Explorer I can see my home directory, C:\cygwin\home\book. I can open a Cygwin/X window by clicking on my Cygwin desktop icon. 
> > 
> > (But when I open a Cygwin/X window, the prompt reads
> > Book at Book-Enigmatics 
> > instead of
> > Book.
> > 
> > I don't understand this, but I don't think that's the source of my problem.)
> 
> I'm not sure what the issue is there, but this is a Cygwin problem and not an NCL problem. It shouldn't be an issue for installing NCL.
> 
> > 
> > Then I downloaded
> > /ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar.gz
> > 
> > and saved it in my home directory. I can see it there, either by opening the directory with Windows Explorer
> > or by opening a Cygwin/X window and doing 
> > ls -a.
> > 
> > Then I tried to install it, following the instructions under "Install NCL" in the chapter entitled "Installing Cygwin/X (Windows)" in the NCL online manual. I typed 
> > cd /usr/local .
> > 
> > No problem. The prompt says that I am now at 
> > /usr/local ,
> > 
> > as it should. But when I type
> > gunzip /ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar.gz ,
> 
> In order to access files in your home directory you need to use "~/", and not "/". If you use "/" it thinks you mean the top directory of the Cygwin directory tree.
> 
> Try
> gunzip ~/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar.gz
> 
> and go from there.
> 
> --Mary
> 
> > 
> > I get this message: 
> > gzip: /cygwin/home/Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar.gz: No such file or directory
> > 
> > I tried downloading the file again again. No luck. Then I downloaded the unzipped file,
> > /ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar ,
> > and tried untarring it (i.e., skipping the gzip step). No luck. My system still says it can't find the file and/or directory. 
> > 
> > Can someone tell me what is going on and how to fix it? 
> > 
> > 
> > 
> > David
> > 
> > David L. Book 
> > President, Enigmatics, Inc. 
> > _______________________________________________
> > ncl-install mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-install
> 



More information about the ncl-install mailing list