CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   How can I install Openfaom-2.0.0 version. (https://www.cfd-online.com/Forums/openfoam/175327-how-can-i-install-openfaom-2-0-0-version.html)

huecu588755 July 28, 2016 00:53

How can I install Openfaom-2.0.0 version.
 
My ubuntu version is 14.04.
I want to install the Openfoam-2.0.0 in ubuntu by copy this code to the terminal:
sudo apt-get install openfoam200
but it says that

huecu@ubuntu:~$ sudo apt-get install openfoam200
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openfoam200

I want to know what's wrong with it. And how can I install it.

g.freeman July 28, 2016 05:55

Quote:

Originally Posted by huecu588755 (Post 611699)
My ubuntu version is 14.04.
I want to install the Openfoam-2.0.0 in ubuntu by copy this code to the terminal:
sudo apt-get install openfoam200
but it says that

huecu@ubuntu:~$ sudo apt-get install openfoam200
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openfoam200

I want to know what's wrong with it. And how can I install it.

Did you add OpenFOAM to the repository list typing:

VERS=$(lsb_release -cs)
sudo sh -c "echo deb http://dl.openfoam.org/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list"

and then typed sudo apt-get update?

DJ4 September 5, 2016 06:57

it doesn't work
 
Quote:

Originally Posted by g.freeman (Post 611737)
Did you add OpenFOAM to the repository list typing:

VERS=$(lsb_release -cs)
sudo sh -c "echo deb http://dl.openfoam.org/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list"

and then typed sudo apt-get update?

I did that too, but it dosn't work for me too (ubuntu 14.04 & OenFOAM 2.0.0)

g.freeman September 5, 2016 10:58

Quote:

Originally Posted by DJ4 (Post 616601)
I did that too, but it dosn't work for me too (ubuntu 14.04 & OenFOAM 2.0.0)

Try to download the source code from here and to compile

DJ4 September 5, 2016 14:56

Quote:

Originally Posted by g.freeman (Post 616640)
Try to download the source code from here and to compile

Thanks you for your answer;)


All times are GMT -4. The time now is 21:56.