CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Ubuntu Deb Pack Installation problem (

neel May 3, 2013 05:28

Ubuntu Deb Pack Installation problem
I tried to install OpenFoam using Ubuntu Deb Pack Installation on 12.10, codename quantal
with the help of this url but i was unable to install and this error was flashing :

E: Malformed line 1 in source list /etc/apt/sources.list.d/openfoam.list (dist parse)
E: The list of sources could not be read.

my system configurations are
Memory: 3.7 GiB
Processor:Intel® Core™ i3 CPU M 370 @ 2.40GHz × 4
OS type:64-bit

Please help if anyone can i really need this software!

wyldckat May 3, 2013 11:30

Greetings neel and welcome to the forum!

What does the following command output:

cat /etc/apt/sources.list.d/openfoam.list
It should output something like this:

deb quantal main
If it does not, then run the following command:

sudo sh -c "echo deb quantal main > /etc/apt/sources.list.d/openfoam.list"
Then try again the first command I wrote about to confirm if the file is now properly defined.

After that, continue following the official instructions - starting from step #2.

Best regards,

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