CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Tar xvf gives an error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2006, 08:34
Default Hi, I downloaded all the OpenF
  #1
drd
New Member
 
J Dale
Join Date: Mar 2009
Posts: 3
Rep Power: 17
drd is on a distinguished road
Hi, I downloaded all the OpenFOAM 1.2 files as instructed. When I issue the command:

tar -xvf OpenFOAM-1.2.General.gtgz

i get the following error,

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 6559 bytes from OpenFOAM-1.2.General.gtgz
tar: Error exit delayed from previous errors

This happens with all the files.

I'd appreciate any suggestions?

Many Thanks
drd is offline   Reply With Quote

Old   February 8, 2006, 08:38
Default The correct command is: tar
  #2
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
The correct command is:

tar -xzf OpenFOAM-1.2.General.gtgz

or

tar -xvzf OpenFOAM-1.2.General.gtgz
for verbose output

The important flag is "z", which means that the tar archive is gzip-compressed.
fra76 is offline   Reply With Quote

Old   February 8, 2006, 08:38
Default I forgot to mention I am using
  #3
drd
New Member
 
J Dale
Join Date: Mar 2009
Posts: 3
Rep Power: 17
drd is on a distinguished road
I forgot to mention I am using Linux, I think its Redhat 9+?

Cheers
drd is offline   Reply With Quote

Old   February 8, 2006, 08:40
Default I think you should be familiar
  #4
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17
stefanke is on a distinguished road
I think you should be familiar with tar!

Since this is a tar-gzip file you have to filter the archive through gzip. So please use:

tar -zxvf ....


have fun
stefanke is offline   Reply With Quote

Old   February 8, 2006, 08:40
Default Same as above...
  #5
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
Same as above...
fra76 is offline   Reply With Quote

Old   February 8, 2006, 08:45
Default Sorry, my mistake, I was sure
  #6
drd
New Member
 
J Dale
Join Date: Mar 2009
Posts: 3
Rep Power: 17
drd is on a distinguished road
Sorry, my mistake, I was sure I was typing tar -xzf not -xvf, it all works fine now.

Thanks
drd is offline   Reply With Quote

Old   February 9, 2006, 09:13
Default I had also the problem with th
  #7
New Member
 
Yohann PERROT
Join Date: Mar 2009
Posts: 2
Rep Power: 0
yohannperrot is on a distinguished road
I had also the problem with the command tar -xzf on Mac OS X. Instead of using the tradiotional command I unpacked the file with Stuffit
yohannperrot is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
strange fluent error: Primitive Error at Node 0 Jean-Baptiste FLUENT 8 June 14, 2022 11:11
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas COMSOL 1 May 30, 2008 04:35
"Error: Floating point error: invalid number" MI Kim FLUENT 2 January 4, 2007 10:00
Fatal error error writing to tmp No space left on device maka OpenFOAM Installation 2 April 3, 2006 08:48
Error: Floating point error: invalid number Bob FLUENT 3 June 3, 2005 18:11


All times are GMT -4. The time now is 15:26.