CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   openfoam 1.71 Installation (

freemankofi May 11, 2011 12:58

openfoam 1.71 Installation
I'm trying to install openfoam 1.7.1 on our new computer and I keep on getting this error:

Ign natty-updates/universe Translation-en_CA
Ign natty-updates/universe Translation-en
W: Failed to fetch 404 Not Found

W: Failed to fetch 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead

I can't proceed from here since it looks like openfoam hasn't been downloaded for installation. Also, it seems none of the source for 64bit is available for download, is that right?

I have to say that, it did work on Ubuntu 10.4 LTS, and not sure if it's coming from the fact that my OS is now 11.04. If the later is true, then it's silly because one would expect the newer version to handle all the "old" stuff unless one is following Microsoft philosophy of always creating job for the boys.

Anyway, if anyone had experience on this or have suggestions, please feel free to drop me lines. Thanks.

slowtype May 11, 2011 16:57

I don't believe it is available for 11.04.

If your following the Ubuntu pack installation the first step identifies which version of ubuntu you have.

GregorS May 12, 2011 04:17

I think it is better to compile from source.

freemankofi May 12, 2011 09:40

thanks. I'll give it a shot.

lrunber May 12, 2011 09:50

Perhaps try setting your distribution to maverick at software sources for openfoam

fabian_roesler May 12, 2011 11:09


I encountered the same problem. Updating the source list gives an error that says that Ubuntu canít find the OpenFOAM package. I fixed the problem by entering my distribution directly in the first command you have to execute for installation:

VERS=lucid instead of VERS=`lsb_release -cs`

Not very nice but it should help. :)



freemankofi May 12, 2011 11:44

That was easily...:) Thanks so much! I have been able to installed on both 32bit and 64bit now.


vprasu May 19, 2011 01:08

OpenFoam installation in ubuntu 11.04
You may try this for installing Openfoam in ubuntu 11.04.

go to terminal and copy paste this as in the OpenFoam site

VERS=`lsb_release -cs`
sudo sh -c "echo deb $VERS main >> /etc/apt/sources.list"

then before going to sudo update go to synaptic package manager, go to repositories then choose the tab Other, there u can see openFOAM repositories select that then click on edit tab change distro natty to maverick then do the same for other openfoam repositories also. Then close it and reload the repositories. Again go to terminal do the rest as in OpenFOAM site, like

sudo apt-get update
sudo apt-get install openfoam171
sudo apt-get install paraviewopenfoam381

All times are GMT -4. The time now is 20:31.