CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Uninstall Openfoam (https://www.cfd-online.com/Forums/openfoam-installation/136748-uninstall-openfoam.html)

korawin10287 June 3, 2014 14:31

Uninstall Openfoam
 
Hi all

I just install the newest version of Openfoam (2.3.0) on my new machine. After that I found that it cannot compile the turbinePisoFoam code so I need to use the older version of Openfoam (2.1.0).

I tried to follow the instruction on git repository but it doesn't work for me, so I'm thinking of completely remove all the content of 2.3.0 and install the 2.1.0 version. I also follow the uninstall instruction searched from Google but it doesn't work for me too (post from 2007) :( Does anyone have any idea on this ?

Thank you very much.

wyldckat June 3, 2014 17:37

Greetings Korawin and welcome to the forum!

Well, technically you can have more than one version/variant of OpenFOAM installed in your machine. Instructions on how to have more than one version, as well as to learn more on how to get around OpenFOAM's shell environment, are given here: http://openfoamwiki.net/index.php/In...with_the_Shell

As for uninstalling OpenFOAM 2.3.0, it depends on how you installed it in the first place:
  • If it was installed from source code, you simply have to remove the folders where it was installed, when you followed the installation instructions.
  • If it was installed from Deb or RPM package, you need to use the respective opposite command. For example, to remove the Deb packages on Ubuntu, run:
    Code:

    sudo apt-get remove openfoam230 paraviewopenfoam410
Best regards,
Bruno

korawin10287 June 11, 2014 12:33

Thank you very much. That's run properly :)

Quote:

Originally Posted by wyldckat (Post 495425)
Greetings Korawin and welcome to the forum!

Well, technically you can have more than one version/variant of OpenFOAM installed in your machine. Instructions on how to have more than one version, as well as to learn more on how to get around OpenFOAM's shell environment, are given here: http://openfoamwiki.net/index.php/In...with_the_Shell

As for uninstalling OpenFOAM 2.3.0, it depends on how you installed it in the first place:
  • If it was installed from source code, you simply have to remove the folders where it was installed, when you followed the installation instructions.
  • If it was installed from Deb or RPM package, you need to use the respective opposite command. For example, to remove the Deb packages on Ubuntu, run:
    Code:

    sudo apt-get remove openfoam230 paraviewopenfoam410
Best regards,
Bruno



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