# Paraview installation error in Linux subsystem windows 10

**URL:** https://discourse.paraview.org/t/paraview-installation-error-in-linux-subsystem-windows-10/1381
**Category:** ParaView Support
**Created:** [March 4, 2019, 1:28am UTC](https://discourse.paraview.org/t/paraview-installation-error-in-linux-subsystem-windows-10/1381 "2019-03-04T01:28:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Sreekar\_Reddy](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@Sreekar\_Reddy](https://discourse.paraview.org/u/Sreekar_Reddy)
#### Post date: [March 4, 2019, 1:28am UTC](https://discourse.paraview.org/t/paraview-installation-error-in-linux-subsystem-windows-10/1381/1 "2019-03-04T01:28:04Z")

</div>

Hi  
I’m a newbie at Ubuntu and terminal programming. I’ve installed Ubuntu as a subsystem in windows 10 for OpenFOAM. I’ve been able to install OpenFOAM successfully but paraview is not installing in any way.  
I tried rheologic remix pack for OpenFOAM 4.x and copied all the bashrc commands in the .bashrc. It should contain paraview as well but it didn’t show up.  
Tried installing deb pack for Ubuntu18.04, it ran correctly but I don’t know how to access it.  
And I tried opening the paraview from the third-party folder unpacked from rheologic. There is a paraview file but couldn’t find a way to open it.

Everytime I try to run the application, it shows up with this error.  
/home/sree/OpenFOAM/ThirdParty-4.x/platforms/linux64Gcc48/ParaView-4.1.0/lib/paraview-4.1/paraview: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

Is there anything I should have done. Please help me

---

<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 4, 2019, 9:23am UTC](https://discourse.paraview.org/t/paraview-installation-error-in-linux-subsystem-windows-10/1381/2 "2019-03-04T09:23:31Z")

</div>

ParaView is not tested and probably not compatible with WSL.

Why not installing the Windows version of ParaView ?

---

<div class="post-metadata">

### Author: ![swaldman](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@swaldman](https://discourse.paraview.org/u/swaldman)
#### Post date: [May 15, 2019, 7:25pm UTC](https://discourse.paraview.org/t/paraview-installation-error-in-linux-subsystem-windows-10/1381/3 "2019-05-15T19:25:38Z")

</div>

One possible reason is that there are files that Paraview will open on linux but not on Windows: [https://gitlab.kitware.com/paraview/paraview/issues/18661](https://gitlab.kitware.com/paraview/paraview/issues/18661). That’s why I’m trying to run it in WSL.

Fortunately Ubuntu’s repos have a paraview package, which works nicely in WSL (so long as one has an X-server installed). Unfortunately, it’s version 5.4.1, and the types of files that I want to view were’t well supported back then.

So I tried downloading the linux tarball for 5.6.0 from [https://www.paraview.org/download/](https://www.paraview.org/download/). Once untarred there was a bin/paraview executable, so I tried that… and got exactly the same error as the original poster.

That error is fixed simply by installing the missing dependency:  
“sudo apt install libglu1-mesa”.

Now Paraview will start, but it gets as far as “Your OpenGL drivers don’t support required features for basic rendering. Application cannot continue. Please exit and use an older version”.

…which is pretty unhelpful. It produces this in the terminal:  
“ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release\_superbuild/build/superbuild/paraview/src/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 749  
vtkXOpenGLRenderWindow (0x5076470): Unable to find a valid OpenGL 3.2 or later implementation.”

So. It looks like older versions of Paraview worked just fine in WSL, but 5.6 doesn’t. ☹

---

<div class="post-metadata">

### Author: ![lhofmann](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/9e8a1a/32.png) [@lhofmann](https://discourse.paraview.org/u/lhofmann)
#### Post date: [May 16, 2019, 7:17am UTC](https://discourse.paraview.org/t/paraview-installation-error-in-linux-subsystem-windows-10/1381/4 "2019-05-16T07:17:36Z")

</div>

In my experience, the OpenGL error has to do with the X server that runs on Windows.  
I’ve had some success using VcXsrv, with hardware acceleration disabled, and `LIBGL_ALWAYS_INDIRECT=0` as well as `QT_X11_NO_MITSHM=1` set in WSL.

---

<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: [May 16, 2019, 7:28am UTC](https://discourse.paraview.org/t/paraview-installation-error-in-linux-subsystem-windows-10/1381/5 "2019-05-16T07:28:42Z")

</div>

Indeed, it looks like the provided OpenGL implementation by wsl does not support newer features that are needed in ParaView.

I would still like to know the motivation for running in the WSL instead of the window-native version ?

---

<div class="post-metadata">

### Author: ![swaldman](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@swaldman](https://discourse.paraview.org/u/swaldman)
#### Post date: [May 16, 2019, 4:24pm UTC](https://discourse.paraview.org/t/paraview-installation-error-in-linux-subsystem-windows-10/1381/6 "2019-05-16T16:24:22Z")

</div>

> I would still like to know the motivation for running in the WSL instead of the window-native version ?

I can’t speak for the OP, but in my case it was because of this issue:  
[https://gitlab.kitware.com/paraview/paraview/issues/18661](https://gitlab.kitware.com/paraview/paraview/issues/18661)

Which happily seems to be fixed in yesterday’s nightly 😃
