CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

openfoam installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2011, 10:59
Default openfoam installation
  #1
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16
javad814 is on a distinguished road
hello ! I am a bigginer in ubuntu
please help me
I wanted to install openfoam 2.00 but I got an error with ( sudo apt-get update )
this is the error:
E: Malformed line 61 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.

then I typed the code :cat /etc/apt/sources.list
and below is the out put:
#deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ir.archive.ubuntu.com/ubuntu/ natty main restricted
deb-src http://ir.archive.ubuntu.com/ubuntu/ natty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ir.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://ir.archive.ubuntu.com/ubuntu/ natty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ir.archive.ubuntu.com/ubuntu/ natty universe
deb-src http://ir.archive.ubuntu.com/ubuntu/ natty universe
deb http://ir.archive.ubuntu.com/ubuntu/ natty-updates universe
deb-src http://ir.archive.ubuntu.com/ubuntu/ natty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ir.archive.ubuntu.com/ubuntu/ natty multiverse
deb-src http://ir.archive.ubuntu.com/ubuntu/ natty multiverse
deb http://ir.archive.ubuntu.com/ubuntu/ natty-updates multiverse
deb-src http://ir.archive.ubuntu.com/ubuntu/ natty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ir.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
# deb-src http://ir.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu natty-security main restricted
deb http://security.ubuntu.com/ubuntu natty-security universe
deb-src http://security.ubuntu.com/ubuntu natty-security universe
deb http://security.ubuntu.com/ubuntu natty-security multiverse
deb-src http://security.ubuntu.com/ubuntu natty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu natty partner
# deb-src http://archive.canonical.com/ubuntu natty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu natty main
deb-src http://extras.ubuntu.com/ubuntu natty main
deb http://www.openfoam.com/download/ubuntu maverick main
deb http://www.openfoam.com/download/ubuntu maverick main
deb http://www.openfoam.com/download/ubuntu main
deb http://www.openfoam.com/download/ubuntu maverick main
deb http://www.openfoam.com/download/ubuntu maverick main

now what shoud I do
thanks
javad814 is offline   Reply With Quote

Old   July 29, 2011, 03:14
Default
  #2
Member
 
Jan Goebel
Join Date: Mar 2009
Location: Mannheim, Baden Wuerttemberg, Germany
Posts: 35
Rep Power: 17
jango is on a distinguished road
Hi javad,

open a shell and become root by typing sudo -i. Then edit the file /etc/apt/sources.list with your favorite editor and remove all entries according to openfoam (the last five lines)--> close and save --> type:
apt-get update (the error should now disappear)
echo "deb http://www.openfoam.com/download/ubuntu maverick main">>/etc/apt/sources.list
apt-get update
apt-get install openfoam
jango is offline   Reply With Quote

Old   July 29, 2011, 09:24
Default hi jango
  #3
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16
javad814 is on a distinguished road
excuseme I am abigginer in ubuntu please explian how i can edit the file /etc/apt/sources.list and how to remove all entries according to openfoam .
how can i save it?
thanks a lot
javad814 is offline   Reply With Quote

Old   July 29, 2011, 09:36
Default
  #4
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
just type
gedit /etc/apt/sources.list
remove the entries about openfoam then save.
lovecraft22 is offline   Reply With Quote

Old   July 29, 2011, 09:41
Default of installation
  #5
Member
 
Jan Goebel
Join Date: Mar 2009
Location: Mannheim, Baden Wuerttemberg, Germany
Posts: 35
Rep Power: 17
jango is on a distinguished road
and see screenshot below how to open a console...
Have fun and a nice weekend,

Jan
Attached Images
File Type: jpg screenshot.jpg (13.7 KB, 36 views)
jango is offline   Reply With Quote

Old   July 29, 2011, 18:22
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

For the sake of completeness:
Quote:
Originally Posted by jango View Post
and see screenshot below how to open a console...
And then run:
Code:
gksu gedit /etc/apt/sources.list
It will ask you for your password so you can edit the file with root (= super user = administrator) permissions.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 2, 2011, 06:10
Default hello friends
  #7
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16
javad814 is on a distinguished road
my problem is solved
thanks for your detailed helps
javad814 is offline   Reply With Quote

Old   January 27, 2012, 11:31
Default
  #8
New Member
 
Danille7
Join Date: Jan 2012
Posts: 1
Rep Power: 0
Danille7 is on a distinguished road
Thanks for this info!
Danille7 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam 2.0.0 installation Jan_Peters OpenFOAM Installation 86 April 27, 2012 05:32
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 14:06
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 05:24.