PDA

View Full Version : gtgz arcive



Stian1979
15th May 2007, 02:40 PM
How do I unzip a gtgz arcive :confused:

leigh123linux
15th May 2007, 02:49 PM
How do I unzip a gtgz arcive :confused:

sure you dont mean .tgz

try

su
tar xvpfz file.tgz

Stian1979
15th May 2007, 03:05 PM
OpenFOAM-1.4.General.gtgz

www.opencfd.co.uk/openfoam/linux64.html#linux64

EDIT: Did not read trough the guide good enough. tar xzf <filename>

leigh123linux
15th May 2007, 03:14 PM
I think it is just a naming error

Stian1979
15th May 2007, 03:17 PM
Still have problems.

3. Installation
~~~~~~~~~~~~~~~
Download and unpack the files in the $HOME/OpenFOAM directory as
described in: http://www.openfoam.org/download.html

The environment variable settings are contained in files in a
.OpenFOAM-1.4 directory in the OpenFOAM release, i.e. in
$HOME/OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4

a) EITHER, if running bash or ksh (if in doubt type 'echo $SHELL'),
source the .OpenFOAM-1.4/bashrc file by adding the following line to
the end of your $HOME/.bashrc file:

. $HOME/OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/bashrc

Then update the environment variables by sourcing the $HOME/.bashrc
file by typing in the terminal:
. $HOME/.bashrc

b) OR, if running tcsh or csh, source the .OpenFOAM-1.4/cshrc file by
adding the following line to the end of your $HOME/.cshrc file:

source $HOME/OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/cshrc

Then update the environment variables by sourcing the $HOME/.cshrc
file by typing in the terminal:
source $HOME/.cshrc

Have no idea how to atack this :eek: