CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Paste the code and no reaction (https://www.cfd-online.com/Forums/openfoam-installation/101197-paste-code-no-reaction.html)

nastrandamus April 29, 2012 03:21

Paste the code and no reaction
 
Hello first time,
I have been trying to install OpenFoam on my ubuntu 11.04. I just paste the code from the official website:

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

then I write a password and enter and nothing happens.
It is my first linux and first instalation, please help me and be tolerant.
Thank you.

wyldckat April 29, 2012 05:17

Greetings Tomas and welcome to the forum!

Are you 100% certain that you have Ubuntu 11.04? If so, that command doesn't show anything on the command line, so you can continue following the installation instructions.

If you have Ubuntu 12.04, the official OpenFOAM deb packages doesn't officially support 12.04 just yet. Nonetheless, you can try using the packages that are meant for 11.10, by running the following command:
Code:

sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu oneiric main > /etc/apt/sources.list.d/openfoam.list"
Best regards,
Bruno

nastrandamus April 29, 2012 09:05

Thank you, I am sure i have 10.04 version but problem is fixed. I have already found help on polish forum:

http://ubuntu.pl/forum/viewtopic.php?f=145&t=157987

there you can find solution if somene has the same problem.


All times are GMT -4. The time now is 23:48.