|
[Sponsors] |
October 7, 2011, 16:12 |
Problem installing OF 2.0.1 on Ubuntu 11.04
|
#1 |
New Member
Ricardo
Join Date: Sep 2011
Posts: 15
Rep Power: 15 |
greetings all,
I recently installed ubuntu 11.04 on my computer and i am trying to install OF, but i am getting some errors. Ive used ubuntu and OF, but i did not encounter any problems then. I am somewhat new to ubuntu/linux, I am following the installation commands from here: http://www.openfoam.com/download/ubuntu.php After I run the >>sudo apt-get updates (it runs the update but at the end i get this message W: Failed to fetch http://www.openfoam.com/download/ubu...-i386/Packages 404 Not Found W: Failed to fetch http://www.openfoam.com/download/ubu...-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. >>~$ sudo apt-get install openfoam201 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package openfoam201 I didnt ant to continue the installation commands, until i have fixed this. I would really appreciate it if someone can please, please help me. Thanks -Ricardo |
|
October 8, 2011, 09:22 |
|
#2 |
New Member
Join Date: Jun 2011
Location: Rotterdam, the Netherlands
Posts: 9
Rep Power: 15 |
Ricardo,
For the first installation step, replace the term $VERS with natty, then the installation should work. Enjoy! Regards, Kevin |
|
October 10, 2011, 20:50 |
|
#3 |
New Member
Ricardo
Join Date: Sep 2011
Posts: 15
Rep Power: 15 |
||
May 22, 2012, 03:41 |
|
#4 |
New Member
Chen Xiaobing
Join Date: Aug 2011
Posts: 11
Rep Power: 15 |
VERS=`lsb_release -cs`
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list" I have similar problems. sorry, do u mean to replace "VERS" with "11.10" ? What should I input for this VERS? I installed "Ubuntu Desktop 11.10 desktop i386" system. thanks. |
|
May 22, 2012, 17:01 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Chen,
Can you detail what is the exact problem? Best regards, Bruno
__________________
|
|
May 22, 2012, 22:13 |
|
#6 |
New Member
Chen Xiaobing
Join Date: Aug 2011
Posts: 11
Rep Power: 15 |
thanks for the greetings.
HTML Code:
The problem is the same as following, " I am following the installation commands from here: http://www.openfoam.com/download/ubuntu.php After I run the >>sudo apt-get updates (it runs the update but at the end i get this message W: Failed to fetch http://www.openfoam.com/download/ubu...-i386/Packages 404 Not Found W: Failed to fetch http://www.openfoam.com/download/ubu...-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. >>~$ sudo apt-get install openfoam201 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package openfoam201 " |
|
May 23, 2012, 08:15 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Chen,
OK, now I remember, run this modified command (in bold is the change): Code:
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu natty main > /etc/apt/sources.list.d/openfoam.list" But keep in mind that you might run into problems, since there might be some backwards compatibility issues, so you might have to build from source if those problems occur. Good luck! Bruno
__________________
|
|
May 26, 2012, 06:52 |
|
#8 | |
New Member
Chen Xiaobing
Join Date: Aug 2011
Posts: 11
Rep Power: 15 |
thanks. it works now.
nice weekend. Quote:
|
||
Tags |
openfoam 2.0.1, ubuntu natty 11.04 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2.0.1 istallation problem using icc | fisch | OpenFOAM Installation | 2 | October 9, 2011 11:17 |
OpenFOAM-1.6-ext on Ubuntu: frustrating problem | marupio | OpenFOAM Installation | 0 | March 10, 2011 12:28 |
Installing OpenFOAM 1.6 on Ubuntu 10.4 | sda | OpenFOAM Installation | 5 | May 27, 2010 21:19 |
Trouble with installing OpenFOAM on Ubuntu | Milos | OpenFOAM Installation | 16 | November 16, 2009 03:44 |
problem about installing FOAM | linux freshman | Main CFD Forum | 6 | November 4, 2004 11:59 |