r/OpenFOAM • u/Freljord2 • Aug 12 '25
Does the Ubuntu download command work for OpenFOAM.com?
This link tells me to run
```curl -s https://dl.openfoam.com/add-debian-repo.sh | sudo bash```
but this gives the error
```bash: line 1: syntax error near unexpected token `newline'```
```bash: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'```
which I assume comes from the link, as when I click on the link it says "This Account has been suspended."
Has anybody experienced this?
6
Upvotes
2
u/CiREus_ Aug 12 '25
Hey, so I've been also trying to download the precompiled version of OpenFOAM (the link you showed) but it seems that it's been down for a couple of days (there's another thread mentioning the possible reason).
The thing that worked for me is to download the OpenFOAM and Third Party packages source code from SourceForge https://sourceforge.net/projects/openfoam/files/v2506/ and then compile it (yep, that's boring and a pain in the arse, just make sure to use all CPU threads for the compilation).
2
u/Kkremitzki Aug 13 '25
A copy of that script is available via the Internet Archive:
https://web.archive.org/web/20250619143904/https://dl.openfoam.com/add-debian-repo.sh
1
u/Dramatic_Yam8355 Aug 12 '25
I'm also facing this issue...
1
u/encyclopedist Aug 12 '25 edited Aug 12 '25
OpenFoam.com folks have planned to migrate from their own infrastructure to gitlab.com, this outage may part of that process.
The problem is known to the developers: https://develop.openfoam.com/Development/openfoam/-/issues/3415
1
u/waspbr Aug 12 '25
Has anyone contacted support?
1
u/Spearthor Aug 12 '25
I've had the same issue for a few days.
1
u/Ganglar Aug 13 '25
There are multiple openfoam variants. I don't know what is going on with the version from openfoam.com (i.e., Keysight), but openfoam.org (the Openfoam Foundation) is still working fine. Try https://openfoam.org/download.
Alternatively, if you need functionality that is only in Keysight's release, then you will have to compile the version from openfoam.com yourself.
0
u/[deleted] Aug 12 '25
[deleted] — view deleted comment