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

Offline installation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By danishdude

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2011, 05:07
Default Offline installation
  #1
New Member
 
Join Date: Sep 2011
Posts: 12
Rep Power: 15
eric weddle is on a distinguished road
Hello there.

I'd like to know if there's anyway to install OpenFOAM Ubuntu package in a machine with no internet connection.

Thanks
eric weddle is offline   Reply With Quote

Old   October 27, 2011, 09:05
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
Did you try to copy the source pack from a USB disk?
Bernhard is offline   Reply With Quote

Old   October 27, 2011, 09:16
Default
  #3
New Member
 
Join Date: Sep 2011
Posts: 12
Rep Power: 15
eric weddle is on a distinguished road
actually, i could only manage download the pack using the "apt-get install" command
eric weddle is offline   Reply With Quote

Old   October 27, 2011, 09:21
Default
  #4
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
You can download the source pack here:
http://www.openfoam.com/download/source.php

If you follow the instructions this should be no problem. Good luck
Bernhard is offline   Reply With Quote

Old   October 27, 2011, 09:23
Default
  #5
New Member
 
Join Date: Sep 2011
Posts: 12
Rep Power: 15
eric weddle is on a distinguished road
tanks a lot
eric weddle is offline   Reply With Quote

Old   October 27, 2011, 13:42
Default APTonCD
  #6
New Member
 
Michael Ahlmann
Join Date: Feb 2010
Posts: 27
Rep Power: 16
danishdude is on a distinguished road
I recently had a similar predicament where I was trying to load OpenFOAM onto a machine that was not connected to the internet. The problem I ran into was that you can easily download and compile OpenFOAM source files, but getting dependences (Flex, Qt, etc...) is a pain in the neck. However, I found a really simple solution. This requires that you either have another machine that is connected to the internet and has the same version of Ubuntu installed (which was what I did) or you could use VirtualBox to virtually install a machine similar to the one you are trying to work with. There is a tool called APTonCD. Available at this link http://aptoncd.sourceforge.net/. You run the tool, and it allows you to create an APT repository from all the files currently installed via apt on your computer. This way, you merely load OpenFOAM on the machine that has the internet connection using APT, all dependencies are installed automatically, and then you use APTonCD to transfer this "custom" repository to the machine that does not have an internet connection. This is also a great way to transfer updates to the machine without an internet connection. Good Luck!
jaydevadve likes this.
danishdude is offline   Reply With Quote

Old   December 9, 2013, 10:56
Default
  #7
New Member
 
Saeed Salehi
Join Date: Aug 2010
Posts: 27
Rep Power: 16
salehi144 is on a distinguished road
Dear Michael,

I have the same problem of installing OF offline. As you correctly mentioned get it with all dependencies is a pain in the neck! So i tried to do what you said about APTonCD. It turned out there is no more such software in sourceforge.
So, any suggestion?

Thanks,
salehi144 is offline   Reply With Quote

Old   December 9, 2013, 12:29
Default
  #8
Member
 
Brugiere Olivier
Join Date: Mar 2009
Posts: 34
Rep Power: 17
brugiere_olivier is on a distinguished road
Dear Saeed,

You can try to install OpenFOAM from the source package.
If you want the version 2.2.2 is very easy you need to download gcc, gmp, cmake, mpc and mpfr and after you will follow the instruction from : http://openfoamwiki.net/index.php/In...M-2.2.0/Ubuntu

I've already done for CentOs and my computer offline. It's ok on my computer now
brugiere_olivier is offline   Reply With Quote

Reply

Tags
install, installation, installation of open foam, installation of openfoam


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 06:32
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
Installation problems indy OpenFOAM Installation 7 April 3, 2009 10:40
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Installation problems shellbell1999 OpenFOAM Installation 9 April 6, 2006 14:29


All times are GMT -4. The time now is 03:25.