View Issue Details

IDProjectCategoryView StatusLast Update
0002895OpenFOAMContributionpublic2018-04-01 15:34
ReporterHans-does-linuxAssigned Tochris 
Status closedResolutionfixed 
PlatformUnixOSOtherOS Version(please specify)
Product Version5.x 
Fixed in Version 
Summary0002895: Error in installation guide

gives the instruction to do:

sudo apt-get -y install openfoam5

This does not work with error message:
E: Unable to fetch some archives...

Solution :
sudo apt-get -y install openfoam

NB without the 5 !!!

Worked like a breeze, only took me a full evening to just try it as a last resort ;-)
TagsOpenFOAM installation guide



2018-03-31 23:15

reporter   ~0009459

Further to this epic journey ....
After installation
The files do not end up in the /opt folder but in the
/usr/share folder....

This means that adding the following to the .bashrc does not work either:

Source /opt/openfoam5/etc/bashrc

!!! it is not in the /opt and the folder is not called /openfoam5 but just without the 5 ..!!

Also this means that the '$FOAM_' variables don't work

Finding this out costs about one evening


2018-04-01 00:25

updater   ~0009460

The package "openfoam" is provided by Debian, which has landed on Ubuntu sometime ago. That package is not maintained by the OpenFOAM Foundation and that is why the resulting installation is not at "/opt".

As for the original problem with the "openfoam5" package, it's not clear what happened exactly. There should have been a lot more information provided by the commands indicated in steps #1 and #2 of the "Installation" section. Those two commands must have given a lot more information as to why it didn't even manage to download the package "openfoam5".


2018-04-01 11:18

reporter   ~0009461

I guessed I got a different installation package, however I got it from an official mirror.

I'll try to get it out of my system and get back to the source of Openfoam5

Any tips on how to remove the 'openfoam' install?

regs Hans


2018-04-01 15:34

manager   ~0009462

Removing the "openfoam" package:
sudo apt-get purge openfoam

The error is almost certainly a server error on sourceforge where the openfoam5 package in available for download. I just tested it now and it installed fine.

PS Please give us a little credit that we know the name of the package we produce.

Issue History

Date Modified Username Field Change
2018-03-31 14:22 Hans-does-linux New Issue
2018-03-31 14:22 Hans-does-linux Tag Attached: OpenFOAM installation guide
2018-03-31 23:15 Hans-does-linux Note Added: 0009459
2018-04-01 00:25 wyldckat Note Added: 0009460
2018-04-01 11:18 Hans-does-linux Note Added: 0009461
2018-04-01 15:34 chris Note Added: 0009462
2018-04-01 15:34 chris Assigned To => chris
2018-04-01 15:34 chris Status new => closed
2018-04-01 15:34 chris Resolution open => fixed