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

[OpenFOAM.org] Trouble installing OF240 in Mint 17.1 Rebecca

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2015, 10:43
Default Trouble installing OF240 in Mint 17.1 Rebecca
  #1
New Member
 
Fernando Soares Alves
Join Date: Oct 2013
Posts: 16
Rep Power: 12
FernandoSoares is on a distinguished road
Hello Foamers,

I'm trying to install the latest OpenFOAM release (currently 2.4.0) in Linux Mint 17.1 Rebecca according to the Deb Pack installation tutorial here. However it is not working for me right now. I've already done it before in another machine (same OS) and it worked fine.

According to the tutorial the first step is
Code:
VERS=$(lsb_release -cs)
which simply stores 'rebecca' in the $VERS variable (right?). The following step is
Code:
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list"
As soon as I "sudo apt-get update" I get the error messages
Code:
Err http://www.openfoam.org rebecca/main amd64 Packages                        
  404  Not Found
Err http://www.openfoam.org rebecca/main i386 Packages                
  404  Not Found
and by the end of it
Code:
W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/rebecca/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/rebecca/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
When finally trying to install it the package obviously can't be found
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package openfoam240
What am I doing wrong here? It probably is some silliness but I would pretty much appreciate any help in advance. Has anyone recently had a similar issue installing OF240?

Once again, thank you for your advise

F. Soares
FernandoSoares is offline   Reply With Quote

Old   September 14, 2015, 14:22
Default
  #2
New Member
 
Fernando Soares Alves
Join Date: Oct 2013
Posts: 16
Rep Power: 12
FernandoSoares is on a distinguished road
As I thought it was pretty simple to solve. Apparently rebecca does not work, but using trusty or even vivid (for 17.2 I believe) for the version of the distribution (VERS=trusty/vivid) does the trick. OF240 installed.
FernandoSoares is offline   Reply With Quote

Old   October 4, 2015, 16:04
Default
  #3
New Member
 
scruffyjoe
Join Date: Oct 2015
Posts: 2
Rep Power: 0
scruffyjoe is on a distinguished road
What exactly did you do to get it working? I'm having the same errors.
scruffyjoe is offline   Reply With Quote

Old   October 4, 2015, 16:08
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
Quick answer:
  • For Mint 17.1:
    Code:
    sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu trusty main > /etc/apt/sources.list.d/openfoam.list"
  • For Mint 17.2:
    Code:
    sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu vivid main > /etc/apt/sources.list.d/openfoam.list"
But before that, you better first run this command:
Code:
sudo add-apt-repository -r http://www.openfoam.org/download/ubuntu
wyldckat is offline   Reply With Quote

Old   October 4, 2015, 16:38
Default
  #5
New Member
 
Fernando Soares Alves
Join Date: Oct 2013
Posts: 16
Rep Power: 12
FernandoSoares is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer:
  • For Mint 17.1:
    Code:
    sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu trusty main > /etc/apt/sources.list.d/openfoam.list"
  • For Mint 17.2:
    Code:
    sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu vivid main > /etc/apt/sources.list.d/openfoam.list"
But before that, you better first run this command:
Code:
sudo add-apt-repository -r http://www.openfoam.org/download/ubuntu
Yeah. I also set explicitly the version and as I am currently using 17.1 I used 'trusty', just as wyldckat replied. I don't actually why but 'rebecca' (lsb_release -cs 's output) doesn't really work. I hope it helps.

Best regards
FernandoSoares is offline   Reply With Quote

Old   October 5, 2015, 01:47
Default
  #6
New Member
 
scruffyjoe
Join Date: Oct 2015
Posts: 2
Rep Power: 0
scruffyjoe is on a distinguished road
Thanks a million Guys! Got it working with your help
scruffyjoe is offline   Reply With Quote

Reply


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.org] I have trouble installing openfoam 5.0 on ubuntu 16.04 haydii OpenFOAM Installation 5 December 27, 2018 10:56
[General] Trouble installing ParaView from source Jack_Landis ParaView 3 June 20, 2016 11:18
[OpenFOAM] Trouble installing ParaView from source Jack_Landis ParaView 4 June 15, 2016 10:32
[OpenFOAM.org] Installing OpenFOAM 2.3.1 on Mint 17 - ThirdParty stuff not seeming to compile MikeHersee OpenFOAM Installation 2 January 4, 2015 05:32
Trouble installing OpenFoam 2.10 on Ubuntu 11.10 LucasCG OpenFOAM Installation 17 January 27, 2013 14:58


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