# Paraview and Paraview openfoam issue

**URL:** https://discourse.paraview.org/t/paraview-and-paraview-openfoam-issue/11231
**Category:** ParaView Support
**Created:** [January 22, 2023, 2:27pm UTC](https://discourse.paraview.org/t/paraview-and-paraview-openfoam-issue/11231 "2023-01-22T14:27:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![babias](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/f1d935/32.png) [@babias](https://discourse.paraview.org/u/babias)
#### Post date: [January 22, 2023, 2:27pm UTC](https://discourse.paraview.org/t/paraview-and-paraview-openfoam-issue/11231/1 "2023-01-22T14:27:50Z")

</div>

Hello ParaView users,  
I have a (hopefully) simple question regarding the installation of ParaView. Some days ago I installed paraview 5.11 and I used it without any problem. Today I installed OpenFOAM that has also added paraviewopenfoam510 and when I type paraview in the terminal it launches the openfoam version (5.10). How can I restore my paraview 5.11 command?  
Thanks

(OS Ubuntu 22.04)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 23, 2023, 10:17am UTC](https://discourse.paraview.org/t/paraview-and-paraview-openfoam-issue/11231/2 "2023-01-23T10:17:31Z")

</div>

Hi @babias

How did you install ParaView ?  
How did you install ParaFOAM ?

Best,

---

<div class="post-metadata">

### Author: ![babias](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/f1d935/32.png) [@babias](https://discourse.paraview.org/u/babias)
#### Post date: [February 4, 2023, 4:51pm UTC](https://discourse.paraview.org/t/paraview-and-paraview-openfoam-issue/11231/3 "2023-02-04T16:51:51Z")

</div>

Hi @mwestphal,  
I downloaded and installed paraview from the website. To install the program, I extracted the downloaded file into /opt/ParaView-5.11. Then I added the following line to the ,bashrc file:  
`export PATH=$PATH:/opt/Paraview-5.11/bin/`  
and finally I typed these commands in the terminal:  
`sudo ln -s /opt/ParaView-5.11/bin/paraview /usr/bin/paraview`  
and  
`sudo ln -s /opt/ParaView-5.11/lib/paraview-5.11/ /usr/lib/paraview-5.11`

This procedure was fine and paraview 5.11 worked until I installed Openfoam 10.  
After that, if I type paraview in the terminal, the computer starts paraviewopenfoam510 (together with some MESA warning).  
How can I restore my paraview command and link it to paraview 5.11?

Unfortunately I cannot remove paraviewopenfoam510 because it also removes openfoam.  
Thanks

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 6, 2023, 10:25am UTC](https://discourse.paraview.org/t/paraview-and-paraview-openfoam-issue/11231/4 "2023-02-06T10:25:22Z")

</div>

> [@babias](#):
>
> This procedure was fine and paraview 5.11 worked until I installed Openfoam 10.  
> After that, if I type paraview in the terminal, the computer starts paraviewopenfoam510 (together with some MESA warning).  
> How can I restore my paraview command and link it to paraview 5.11?
> 
> Unfortunately I cannot remove paraviewopenfoam510 because it also removes openfoam.  
> Thanks

That is a question for OpenFOAM, not related to ParaView. You probably need to change your PATH.
