How To Install OpenFoam in Trisquel 5.5

4 respostas [Última entrada]
ArKE
Desconectado
Joined: 01/03/2013

Hello,

I am a new user in trisquel and needs to install OpenFoam, matplotlib1.2
can somebody guide me please.. ?

The python-matplotlib is installing older versions, i could not install newer versions.

OpenFoam package is downloaded into my computer but installing with package installer is generating "Dependency is not satisfiable: libc6(>=2.14)" error

My system is intel core duo x64 system.Trisquel 5.5STS is OS

Thanks!

ArKE

lembas
Desconectado
Joined: 05/13/2010

Hi there!

Usually you can find most software in Trisquel repositories and then the install is trivial via the package manager (or command line.) This doesn't seem to be the case now.

Looks like OpenFOAM (and paraview) are free software, so let's see how it could be done.

Following and adapting the instructions from this page http://www.openfoam.org/download/ubuntu.php

Installing packages from 3rd party repositories can be risky. The first command adds such a repository.

sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu oneiric main > /etc/apt/sources.list.d/openfoam.list"

sudo apt-get update

sudo apt-get install openfoam211 paraviewopenfoam3120

(You might also be interested in Code Saturne or Gerris Flow Solver programs which are in the repos and can be installed with

sudo apt-get install code-saturne
or
sudo apt-get install gerris)

MagicFab
Desconectado
Joined: 12/13/2010

On 13-01-03 04:36 AM, name at domain wrote:
> [...]
> sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu Oneiric
> main > /etc/apt/sources.list.d/openfoam.list"
>
I believe that has to be lowercase:
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu oneiric
main > /etc/apt/sources.list.d/openfoam.list"

F.

--
Fabián Rodríguez
http://trisquel.magicfab.ca

lembas
Desconectado
Joined: 05/13/2010

You're right. I noticed it... right after having posted it. Which is a nastier thing for people reading this via email.

Well spotted!

MagicFab
Desconectado
Joined: 12/13/2010

On 13-01-03 01:36 AM, name at domain wrote:
> Hello,
>
> I am a new user in trisquel and needs to install OpenFoam, matplotlib1.2
> can somebody guide me please.. ?
>
> The python-matplotlib is installing older versions, i could not
> install newer versions.
>
> OpenFoam package is downloaded into my computer but installing with
> package installer is generating "Dependency is not satisfiable:
> libc6(>=2.14)" error
>
> My system is intel core duo x64 system.Trisquel 5.5STS is OS
>
>
> Thanks!
>
> ArKE

Hi, welcome to Trisquel :)

If you're a new user, may I suggest you start using Trisquel 6? You will
have a better chance at getting bugs addressed and it is based on the
long-term support version of Ubuntu, so you won't have to upgrading for
quite some time. There is no official release yet but as I mentioned
it's based on Ubuntu 12.04 LTS which has been out for >8 months now. I
personally use this without issues.

Trisquel 5.5 would mean you need to install whatever they offer for
Ubuntu 11.10 ("Oneiric").

This would mean using this in their instructions
(http://www.openfoam.org/download/ubuntu.php):

sudo sh -c "echo deb http://www.openfoam.org/download/ubuntuoneiricmain > /etc/apt/sources.list.d/openfoam.list"

I tested this, but with Trisquel 6 and the package installed as expected.

BTW it would aslo be useful if you could request OpenFoam authors to
package this for Debian so it makes it in standard repositories in both
Debian and Trisquel.

Good luck and please come back and report your results.

Cheers,

Fabian

--
Fabián Rodríguez
http://trisquel.magicfab.ca