# Paraview update on Ubuntu: Issues

**URL:** https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373
**Category:** ParaView Support
**Tags:** python
**Created:** [September 17, 2020, 1:55pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373 "2020-09-17T13:55:34Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![arun\_v1986](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@arun\_v1986](https://discourse.paraview.org/u/arun_v1986)
#### Post date: [September 17, 2020, 1:55pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/1 "2020-09-17T13:55:34Z")

</div>

I have installed OpenFoam 8 on my system (ubuntu 20.04) which has Paraview 5.6 bundled with it. I have then downloaded the Paraview 5.8.1 .tar file and unpacked it. I am able to launch version 5.8.1 from the folder where I have unpacked the contents but when I type “paraview” in the terminal, it still launches version 5.6. I have tried adding an alias to the version 5.8.1 location in the .bashrc file but it doesn’t work. I want the default version to be 5.8.1. Any help in this regard will be appreciated.

---

<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: [September 17, 2020, 1:58pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/2 "2020-09-17T13:58:15Z")

</div>

`alias paraview=/path/to/bin/paraview` should do it.

---

<div class="post-metadata">

### Author: ![arun\_v1986](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@arun\_v1986](https://discourse.paraview.org/u/arun_v1986)
#### Post date: [September 17, 2020, 2:03pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/3 "2020-09-17T14:03:39Z")

</div>

Hello Mathieu, thanks for the response. But adding the alias doesn’t work. I tried it. It still launches the older version when I type “paraview” in the terminal.

---

<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: [September 17, 2020, 2:04pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/4 "2020-09-17T14:04:24Z")

</div>

run this first:

`source ~/.bashrc`

---

<div class="post-metadata">

### Author: ![arun\_v1986](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@arun\_v1986](https://discourse.paraview.org/u/arun_v1986)
#### Post date: [September 17, 2020, 2:06pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/5 "2020-09-17T14:06:26Z")

</div>

Had already tried that, no luck. Still launches the older version.

---

<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: [September 17, 2020, 2:07pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/6 "2020-09-17T14:07:32Z")

</div>

This is unrelated to ParaView.

Just rename the other paraview.

---

<div class="post-metadata">

### Author: ![arun\_v1986](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@arun\_v1986](https://discourse.paraview.org/u/arun_v1986)
#### Post date: [September 17, 2020, 2:12pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/7 "2020-09-17T14:12:45Z")

</div>

There is no other paraview in my .bashrc. Even after adding the alias for the newer version of paraview, it still launches the older version. Have tried sourcing the bashrc file, restarting, everything.

---

<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: [September 17, 2020, 2:13pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/8 "2020-09-17T14:13:57Z")

</div>

You installed ParaView with OpenFOAM. rename this one.

---

<div class="post-metadata">

### Author: ![arun\_v1986](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@arun\_v1986](https://discourse.paraview.org/u/arun_v1986)
#### Post date: [September 17, 2020, 2:18pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/9 "2020-09-17T14:18:15Z")

</div>

That is one solution. But I was hoping to update the default version, so that I can launch the newer version every time, even with the paraFoam command (if that is possible). But for the time being, this would suffice, I guess. Thanks for the inputs.

---

<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: [September 17, 2020, 2:19pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/10 "2020-09-17T14:19:36Z")

</div>

> [@arun\_v1986](#):
>
> even with the paraFoam command (if that is possible).

paraFOAM is a ParaView based application developped by OpenFOAM. You can’t just update it’s ParaView component, it would need to be rebuilt against a newer ParaView. This is a question for the OpenFOAM community though.

---

<div class="post-metadata">

### Author: ![arun\_v1986](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@arun\_v1986](https://discourse.paraview.org/u/arun_v1986)
#### Post date: [September 17, 2020, 2:23pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/11 "2020-09-17T14:23:26Z")

</div>

Yeah, that’s what I thought. I am unable to open some .hdf5 files with the 5.6 version (crashes as soon as I try) but it works fine in the 5.8.1 version, which is the main reason why I was looking to do this.

---

<div class="post-metadata">

### Author: ![Abbas\_aldor](https://discourse.paraview.org/user_avatar/discourse.paraview.org/abbas_aldor/32/6309_2.png) [@Abbas\_aldor](https://discourse.paraview.org/u/Abbas_aldor)
#### Post date: [March 29, 2021, 9:59pm UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/12 "2021-03-29T21:59:13Z")

</div>

Hello Mathieu,  
if I installed the newer version of paraview, and added this alias, how can I run pvbatch using the newer version of paraview?  
Thanks in advance

---

<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: [March 30, 2021, 7:34am UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/13 "2021-03-30T07:34:56Z")

</div>

```
cd path/to/paraview/bin
./pvbatch
```

---

<div class="post-metadata">

### Author: ![fizza\_taruna](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fizza_taruna/32/6448_2.png) [@fizza\_taruna](https://discourse.paraview.org/u/fizza_taruna)
#### Post date: [April 19, 2021, 3:25am UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/14 "2021-04-19T03:25:08Z")

</div>

hello,  
May I ask  
how to update paraview to a newer version  
please answer 🙏 thank you 🙏

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [April 19, 2021, 6:02am UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/15 "2021-04-19T06:02:20Z")

</div>

Fizza,  
Welcome to the ParaView community!  
Your question is a different topic, Please start a new Topic.  
Alan

---

<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: [April 19, 2021, 8:08am UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/16 "2021-04-19T08:08:55Z")

</div>

[https://www.paraview.org/download/](https://www.paraview.org/download/)

---

<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: [April 19, 2021, 8:08am UTC](https://discourse.paraview.org/t/paraview-update-on-ubuntu-issues/5373/17 "2021-04-19T08:08:58Z")

</div>


