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

openfoam installation for algeria (dz)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2011, 12:30
Angry openfoam installation for algeria (dz)
  #1
New Member
 
abbes
Join Date: Jul 2011
Posts: 3
Rep Power: 14
abbes is on a distinguished road
Hi,
I have installed a virtual machine on my windows pc, then ubuntu-10.04.2-desktop-i386... as described in http://www.openfoam.com/resources/windows.php
it's ok.
then I moved to install openfoam, but unsuccessfully.
when opening the sources.list file in /etc/apt/
I found the following messages:
if I understand right, as I am in Algeria (dz), I don't have right to use openfoam.
If someone have an idea, thanks to answer me.
Regards
#deb cdrom:[Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386 (20110211.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://dz.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://dz.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://dz.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://dz.archive.ubuntu.com/ubuntu/ lucid-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://dz.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://dz.archive.ubuntu.com/ubuntu/ lucid universe
deb http://dz.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://dz.archive.ubuntu.com/ubuntu/ lucid-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://dz.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://dz.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://dz.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://dz.archive.ubuntu.com/ubuntu/ lucid-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://dz.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://dz.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe 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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://www.openfoam.com/download/ubuntu lsb_release -cs main
deb http://www.openfoam.com/download/ubuntu lsb_release -cs main
deb http://www.openfoam.com/download/ubuntu lsb_release -cs
deb fttp://www.openfoam.com/download/ubuntu main
deb http://www.openfoam.com/dpwnload/ubuntu lsb-release -cs main
deb http://www.openfoam.com/download/ubuntu lucid main
abbes is offline   Reply With Quote

Old   July 16, 2011, 16:08
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 abbes and welcome to the forum!

I'm not certain, but I don't believe that Algeria has been blocked from sourceforge.net. This just seems a problem of incorrect copy-paste of the commands

Near the end of the file you posted, the following lines in bold should be removed:
Code:
deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://www.openfoam.com/download/ubuntu lsb_release -cs main
deb http://www.openfoam.com/download/ubuntu lsb_release -cs main
deb http://www.openfoam.com/download/ubuntu lsb_release -cs
deb fttp://www.openfoam.com/download/ubuntu main
deb http://www.openfoam.com/dpwnload/ubuntu lsb-release -cs main            
deb http://www.openfoam.com/download/ubuntu lucid main
To edit the file with root powers, run:
Code:
gksu gedit /etc/apt/sources.list
The gksu command is the Gnome version of sudo for GUIs.

Now proceed from point number 2 from the installation instructions and you'll be using OpenFOAM in a few minutes

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 17, 2011, 03:52
Default
  #3
New Member
 
abbes
Join Date: Jul 2011
Posts: 3
Rep Power: 14
abbes is on a distinguished road
HI Bruno,
thanks a lot for your fast reply.
now, step 2 looks ok, but step 3 gives the following answer !!

azzi@azzi-laptop:~$ sudo apt-get install openfoam200
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet openfoam200
azzi@azzi-laptop:~$

thanks for your help, I really want to test openfoam.
best regards
Abbes
abbes is offline   Reply With Quote

Old   July 17, 2011, 07:00
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Hi Abbes,

Well this is really odd... OK, what does this output:
Code:
tail /etc/apt/sources.list
If I'm not mistaken, it should output in your case the following lines:
Code:
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner
  
deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://www.openfoam.com/download/ubuntu lucid main
If the last line is missing or not equal, or if something else is in the way, then fix it! Then run "sudo apt-get update" again.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 18, 2011, 19:16
Default
  #5
New Member
 
abbes
Join Date: Jul 2011
Posts: 3
Rep Power: 14
abbes is on a distinguished road
Hi Bruno,
the last line was missing. now it works, thank a lot
regards
Abbes
abbes is offline   Reply With Quote

Reply

Tags
algeria, openfoam installation


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 20:38.