Re: Problem unzipping/untarring NCL setup file

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Jan 29 2013 - 14:34:47 MST

David,

You need to be careful about when you use "~/" and just "/".

If you use ~/ in front of a path, then it will automatically prepend your home directory to it, which is /home/Book

So, you *don't* want to do this:

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

This should work:

cd /usr/local
tar -xvf /home/Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar

or this:

cd /usr/local
tar -xvf ~/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar

Again, "~/" is just a substitution for your home directory, which appears to be "/home/Book/".

--Mary

On Jan 29, 2013, at 1:23 PM, David Book wrote:

> Daniel . . .
>
> Thanks again. Here's what I did and what I got:
>
>
> Book@Book-Enigmatics ~
> $ cd /usr/local
>
> Book@Book-Enigmatics /usr/local
> $ tar xvf ~/cygwin/home/Book@Enigmatics-Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar
> tar: /home/Book/cygwin/home/Book@Enigmatics-Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar: Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
>
> Book@Book-Enigmatics /usr/local
> $ tar xvf ~/cygwin/home/Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar tar: /home/Book/cygwin/home/Book/ncl_ncarg-6.1.0.CYGWIN_NT-6.1-WOW64_i686.tar: Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
>
>
> David
>
>
> David L. Book
> President, Enigmatics, Inc.
>
>
> From: "David Book" <davidbook@enigmatics.com>
> Sent: Tuesday, January 29, 2013 12:02 PM
> To: "Daniel Packman" <pack@ucar.edu>
> Subject: Re: Problem unzipping/untarring NCL setup file
>
> Daniel . . .
>
> Here's what I did and what I got:
>
> $cd
>
> Book@Book-Enigmatics ~
> $ pwd
> /home/Book
>
> Book@Book-Enigmatics ~
>
>
> So the directory is named "Book," but the prompt says "Book@Book-Enigmatics ~" What does this mean?
>
>
> David
>
> David L. Book
> President, Enigmatics, Inc.
>
>
> From: "Daniel Packman" <pack@ucar.edu>
> Sent: Tuesday, January 29, 2013 10:30 AM
> To: davidbook@enigmatics.com
> Subject: Re: Problem unzipping/untarring NCL setup file
>
>
> It sounds like you need to sort out just what your home directory looks like
> within cygwin. If you just do a "cd" with no arguments, you should be taken
> to your home directory. If you then do a "pwd", the path to your home directory
> should be echoed.
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Tue Jan 29 14:34:55 2013

This archive was generated by hypermail 2.1.8 : Tue Jan 29 2013 - 22:43:07 MST