CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Ubuntu Deb Pack Installation problem (http://www.cfd-online.com/Forums/openfoam-installation/117153-ubuntu-deb-pack-installation-problem.html)

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 http://www.openfoam.org/download/ubuntu.php 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:
Code:

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

deb http://www.openfoam.org/download/ubuntu quantal main
If it does not, then run the following command:
Code:

sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu 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 http://www.openfoam.org/download/ubuntu.php - starting from step #2.

Best regards,
Bruno


All times are GMT -4. The time now is 18:53.