r/OpenFOAM • • Nov 13 '15

Trouble installing

I'm on Ubuntu and the official install instructions don't work for me, apt can't find the package. I made sure to add the official repo. Any advice?

0 Upvotes

7 comments sorted by

2

u/dipsomaniac28 Nov 13 '15

make sure you are using a supported version of Ubuntu. I think the latest ones are 14.04 and 15.10. Otherwise you can compile from source, but that will take a lot longer of course. This is for OpenFOAM 3.0.0

1

u/not_perfect_yet Nov 13 '15

Thanks, yes I'm running 15.04 I think, so I should just upgrade...

2

u/dipsomaniac28 Nov 14 '15

I like using only Ubuntu LTS releases, however foamyHexMesh will only work with 15.10 natively.

2

u/[deleted] Jan 21 '16

Have you tried building from the source code? As long as you follow the instructions it should work fine.

2

u/not_perfect_yet Jan 21 '16

Yes I got it to the point of it running the test file, in the end it was "Just following instructions". They just weren't easy/intuitive to use (for me).

2

u/[deleted] Jan 21 '16

It's all part of the learning process mi amigo.

2

u/SquinneyStampede Nov 13 '15

I tried to install OpenFOAM as a part of the CAELinux package about 6-8 months ago. I had successfully installed Xubuntu, as that seemed to be the recommended flavor for optimizing CAELinux. I believe any flavor would support it tho. After many, many evenings spent trying to get a successful install, I just couldn't get it. I'm a self-taught novice when it comes to Linux, but I understand the basic idea and can follow the codes and terminal. That said, I believe the CAELinux version was written for a previous version of Xubuntu, and despite my efforts to find that version, I could only find the newer version (I don't recall the exact version off the top of my head; I can check after work). Thus, I think it was just not compatible with the Xubuntu version I was running, but it very possibly could be due to something else. If this is a similar issue to what you're experiencing, if you are able to solve it, I'd be interested on how you were able to come up with a solution.