CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Paste the code and no reaction (

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 $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:

sudo sh -c "echo deb oneiric main > /etc/apt/sources.list.d/openfoam.list"
Best regards,

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:

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

All times are GMT -4. The time now is 12:49.