Where to find the function "tar"

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
eastwind111

Where to find the function "tar"

#1 Unread post by eastwind111 »

Hi, everyone.

I met another question when I tried to install the ROMS.

After I installed Cygwin and tried to install g95, I didn't have the function "g95" in my pc, so I can't carry out this command, "tar -xvzf g95-x86-cygwin.tgz.tar"

Anyone could help me?

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

#2 Unread post by kate »

Tar is an old, old Unix utility. Here's the gnu version: http://www.gnu.org/software/tar/

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

#3 Unread post by m.hadfield »

It may be that you don't have tar installed, in which case you can install it with Cygwin setup.

The more likely problem is that the file name you give, "g95-x86-cygwin.tgz.tar" has a redundant ".tar" on the end. This was probably added by Internet Explorer during the download. Rename it "g95-x86-cygwin.tgz" and try again.

Be warned that there are a few more non-trivial steps to do before you can build a ROMS application. The ones I can think of off-hand are:
  • Once you have g95 working with Cygwin, you will need to build the netCDF library from source and install it.
  • You will need to install Perl (via Cygwin setup) in order to run the cpp_clean script.

Post Reply