PDA

View Full Version : [ubuntu] Qt 4.3.4 and OpenFOAM 1.5



freddyjdc
February 21st, 2009, 08:49 PM
Hi,

i'm new linux user and i need to run OpenFOAM-1.5. I was only possible to make OpenFOAM directory in Home (/HOME/OpenFOAM/) with "su" and "mkdir" commands. But i don't know how to install Qt (wich is required for OpenFOAM operation) and when i uncompressed OpenFOAM downloaded files with "tar -xzf" command gives me an error.

freddy@Sony-Ubuntu:~$ tar xzf /home/OpenFOAM/OpenFOAM-1.5.General.gtgz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Salida con error demorada desde errores anteriores
freddy@Sony-Ubuntu:~$ DD

according with files properties "/home/OpenFOAM/OpenFOAM-1.5.General.gtgz"

i don't know what i'm doing wrong, please help...

My OS: Ubuntu 8.10 64bit

crmccreary
March 12th, 2009, 03:03 AM
You would typically want to install OpenFOAM in YOUR home directory, not /home (see http://www.opencfd.co.uk/openfoam/linux.html).

Try (as yourself, no su):
mkdir $HOME/OpenFOAM
Then tar xzf the files downloaded. In my case:
cd $HOME/OpenFOAM
tar xzf OpenFOAM-1.5.General.gtgz
tar xzf OpenFOAM-1.5.linuxGccDPOpt.gtgz
tar xzf ThirdParty.General.gtgz
tar xzf ThirdParty.linuxGcc.gtgz

I'm still investigating installing qt 4.3 as intrepid has 4.4 in the repos.

Paul Chang
May 1st, 2009, 02:29 AM
crmccreary,

Have you found Qt4.3.x for Ubuntu 9.04? I am trying to install OpenFOAM 1.5 but missed this lib package.