# ParaView now available as Flatpak and distributed in Flathub

**URL:** <https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937>\
**Category:** Announcements\
**Created:** [April 12, 2021, 7:36pm UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937 "2021-04-12T19:36:13Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andythe\_great](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andythe_great/32/6126_2.png) [@Andythe\_great](https://discourse.paraview.org/u/Andythe_great)\
**Post date:** [April 12, 2021, 7:36pm UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/1 "2021-04-12T19:36:13Z")

</div>

Hi,

I packaged ParaView as Flatpak and added it to Flathub. If anyone is interested, ParaView can be installed in Flathub now.

Something to note. I did not bundled any examples or documentation. I managed to bundle examples before, but suddenly it does not work. I did not enable CUDA. PARAVIEW\_USE\_CUDA flag is not specified.

[https://flathub.org/apps/details/org.paraview.ParaView](https://flathub.org/apps/details/org.paraview.ParaView)

---

<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, 9:13am UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/2 "2021-04-19T09:13:27Z")

</div>

Thanks for sharing !

Were you able to enable Raytracing and bundle OSPRay ?

---

<div class="post-metadata">

**Author:** ![Andythe\_great](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andythe_great/32/6126_2.png) [@Andythe\_great](https://discourse.paraview.org/u/Andythe_great)\
**Post date:** [April 27, 2021, 5:26pm UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/3 "2021-04-27T17:26:28Z")

</div>

I did not, was not aware of it. I will try to bundle OSPRay.

---

<div class="post-metadata">

**Author:** ![Andythe\_great](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andythe_great/32/6126_2.png) [@Andythe\_great](https://discourse.paraview.org/u/Andythe_great)\
**Post date:** [April 28, 2021, 7:10pm UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/4 "2021-04-28T19:10:46Z")

</div>

Do I need to enable any cmake flags to build paraview with raytracing?  
I bundle ospray now but I’m not sure if it suppose to appear or I need to enable it.

I look through some tutorial, it suppose to appear on the bottom panel, but I don’t see it. Either paraview don’t see ospray that I build or not enable it.

---

<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 29, 2021, 7:45am UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/5 "2021-04-29T07:45:21Z")

</div>

PARAVIEW\_ENABLE\_RAYTRACING

btw they are many options you may want to turn on if possible:

```
PARAVIEW_ENABLE_*
PARAVIEW_PLUGIN_ENABLE_*
PARAVIEW_USE_MPI
PARAVIEW_USE_PYTHON
PARAVIEW_USE_QT
PARAVIEW_USE_QTHELP
PARAVIEW_USE_QTWEBENGINE
PARAVIEW_USE_VTKM
VTK_SMP_IMPLEMENTATION_TYPE TBB
```

---

<div class="post-metadata">

**Author:** ![Andythe\_great](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andythe_great/32/6126_2.png) [@Andythe\_great](https://discourse.paraview.org/u/Andythe_great)\
**Post date:** [April 30, 2021, 7:50pm UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/6 "2021-04-30T19:50:53Z")

</div>

Thanks,

Do I need this under ParaView too?

> -DVTKm\_\*

---

<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 1, 2021, 8:18am UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/7 "2021-05-01T08:18:06Z")

</div>

> [@mwestphal](#):
>
> `PARAVIEW_USE_VTKM`

Would be enough

---

<div class="post-metadata">

**Author:** ![Andythe\_great](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andythe_great/32/6126_2.png) [@Andythe\_great](https://discourse.paraview.org/u/Andythe_great)\
**Post date:** [May 1, 2021, 4:29pm UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/8 "2021-05-01T16:29:51Z")

</div>

Hi,

Latest ParaView flatpak update have ray-tracing now.

 ![Screenshot_20210501_024256](https://discourse.paraview.org/uploads/default/original/2X/d/dbe3253d463715ed3d8765c4941816e50c7a14de.jpeg)

However, I could not build ParaView with MomentInvariants. Since it try to download it during build which flatpak-builder does not allow. I tried manually download MomentInvariants first and put the folder in VTK/Remote/MomentInvariants but still does not work. Also lookingglass seems to do the same.

---

<div class="post-metadata">

**Author:** ![Andythe\_great](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andythe_great/32/6126_2.png) [@Andythe\_great](https://discourse.paraview.org/u/Andythe_great)\
**Post date:** [May 1, 2021, 8:38pm UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/9 "2021-05-01T20:38:17Z")

</div>

These are all the flag enable for ParaView in Flatpak.

> ```
> - -DCMAKE_BUILD_TYPE:STRING=Release
> - -DBUILD_TESTING:BOOL=OFF
> - -DPARAVIEW_USE_QT:BOOL=ON
> - -DPARAVIEW_USE_QTHELP:BOOL=ON
> - -DPARAVIEW_USE_QTWEBENGINE:BOOL=ON
> - -DPARAVIEW_USE_PYTHON:BOOL=ON
> - -DPARAVIEW_ENABLE_WEB:BOOL=ON
> - -DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION:BOOL=ON
> - -DVTK_PYTHON_OPTIONAL_LINK:BOOL=OFF
> - -DVTK_OPENGL_HAS_OSMESA:BOOL=OFF
> - -DBUILD_EXAMPLES:BOOL=ON
> - -DPARAVIEW_PLUGINS_DEFAULT:BOOL=ON
> - -DVTK_SMP_IMPLEMENTATION_TYPE:STRING=TBB
> - -DVTK_PYTHON_VERSION:STRING=3
> - -DVTK_PYTHON_FULL_THREADSAFE:BOOL=ON
> - -DVTK_NO_PYTHON_THREADS:BOOL=OFF
> - -DQtTesting_INSTALL_NO_DEVELOPMENT:BOOL=ON
> - -DVTK_BUILD_QT_DESIGNER_PLUGIN:BOOL=OFF
> - -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
> - -DPARAVIEW_BUILD_WITH_EXTERNAL:BOOL=OFF
> - -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON
> - -DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=ON
> - -DPARAVIEW_ENABLE_RAYTRACING:BOOL=ON
> - -DPARAVIEW_USE_MPI:BOOL=ON
> - -DHDF5_ENABLE_HDF5:BOOL=ON
> - -DHDF5_ENABLE_OPTIMIZATION:BOOL=ON
> - -DPARAVIEW_ENABLE_XDMF2:BOOL=ON
> - -DPARAVIEW_ENABLE_XDMF3:BOOL=ON
> - -DPARAVIEW_ENABLE_ADIOS2:BOOL=ON
> - -DPARAVIEW_ENABLE_FIDES:BOOL=ON
> - -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON
> - -DPARAVIEW_ENABLE_GDAL:BOOL=ON
> - -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON
> - -DPARAVIEW_ENABLE_PDAL:BOOL=ON
> - -DPARAVIEW_ENABLE_MOTIONFX:BOOL=ON
> - -DPARAVIEW_USE_MEMKIND:BOOL=ON
> - -DPARAVIEW_USE_VTKM:BOOL=ON
> 
> ```

The one below are flag that I commented out.  
I think CUDA need CUDA hardware to be able to build it.  
libLAS is not enable because I can’t compile it.  
fatal error: boost/ detail/endian.hpp: No such file or directory  
Maybe because libLAS have not update to use with new Boost yet.

Moment inertia variants and looking glass attempt to use network when building.

> ```
> #- -DPARAVIEW_USE_CUDA:BOOL=ON
> #- -DPARAVIEW_ENABLE_LAS:BOOL=ON
> #- -DPARAVIEW_ENABLE_MOMENTINVARIANTS:BOOL=ON
> #- -DPARAVIEW_ENABLE_LOOKINGGLASS:BOOL=ON
> 
> ```

---

<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 2, 2021, 8:32am UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/10 "2021-05-02T08:32:37Z")

</div>

Awesome, thanks @Andythe_great !

---

<div class="post-metadata">

**Author:** ![Andythe\_great](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andythe_great/32/6126_2.png) [@Andythe\_great](https://discourse.paraview.org/u/Andythe_great)\
**Post date:** [May 2, 2021, 5:42pm UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/11 "2021-05-02T17:42:32Z")

</div>

I would like for someone in ParaView dev to be owner/co-owner of this ParaView Flathub repository.

> **[flathub/org.paraview.ParaView](https://github.com/flathub/org.paraview.ParaView)**
>
> Contribute to flathub/org.paraview.ParaView development by creating an account on GitHub.

Just being co-owner is enough to increase trust and credibility to the Flatpak build of ParaView.

---

<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 2, 2021, 5:55pm UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/12 "2021-05-02T17:55:50Z")

</div>

I’m fine being a coowner.

---

<div class="post-metadata">

**Author:** ![Andythe\_great](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andythe_great/32/6126_2.png) [@Andythe\_great](https://discourse.paraview.org/u/Andythe_great)\
**Post date:** [May 2, 2021, 6:11pm UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/13 "2021-05-02T18:11:33Z")

</div>

Thank you.  
I don’t think I have the permission to add someone as co-owner.  
But Flatpak admins do.  
I think you should email them.  
[flathub@lists.freedesktop.org](mailto:flathub@lists.freedesktop.org)

> **[flathub/flathub - 
Someone else has put my app on Flathub—what do I do?](https://github.com/flathub/flathub/wiki/App-Submission#someone-else-has-put-my-app-on-flathubwhat-do-i-do)**
>
> App-Submission

I also submit F3D too, so if you would like to be F3D co-owner as well.

> **[flathub/com.kitware.F3D](https://github.com/flathub/com.kitware.F3D)**
>
> Contribute to flathub/com.kitware.F3D development by creating an account on GitHub.

> **[flathub/org.paraview.ParaView](https://github.com/flathub/org.paraview.ParaView)**
>
> Contribute to flathub/org.paraview.ParaView development by creating an account on GitHub.

---

<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 3, 2021, 7:19am UTC](https://discourse.paraview.org/t/paraview-now-available-as-flatpak-and-distributed-in-flathub/6937/14 "2021-05-03T07:19:57Z")

</div>

Ok, I’ll let you know.
