# Installing Paraview without removing libvtk9-dev

**URL:** https://discourse.vtk.org/t/installing-paraview-without-removing-libvtk9-dev/11907
**Category:** Support
**Created:** [July 8, 2023, 8:49pm UTC](https://discourse.vtk.org/t/installing-paraview-without-removing-libvtk9-dev/11907 "2023-07-08T20:49:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Hisham](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/h/f14d63/32.png) [@Hisham](https://discourse.vtk.org/u/Hisham)
#### Post date: [July 8, 2023, 8:49pm UTC](https://discourse.vtk.org/t/installing-paraview-without-removing-libvtk9-dev/11907/1 "2023-07-08T20:49:00Z")

</div>

Hi all,

I have libvtk9-dev installed on Ubuntu 22.04 Jammy, and using it within my project to write my output to vtp file, I importing it to my project through CMake.  
`find_package(VTK REQUIRED)`  
`target_link_libraries(sim PRIVATE ${VTK_LIBRARIES} OpenSSL::Crypto)`

But I want to visualize my results, i tried to install paraview through `sudo apt get paraview`, but it seems there is a conflict between paraview and vtk9 and it removes libvtk9-dev during installation as seen in the attachment. Then my program crashes and cannot build because it can not find vtk anymore. Is there a way to install paraview without removing libvtk9-dev?

Thank you in advance.

 ![2023-07-08_22-40](https://discourse.vtk.org/uploads/default/original/2X/7/77a62174ae7524c5368fc61c2c44fb1081b03b4e.png)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [July 10, 2023, 6:32am UTC](https://discourse.vtk.org/t/installing-paraview-without-removing-libvtk9-dev/11907/2 "2023-07-10T06:32:14Z")

</div>

Hi @Hisham

It is a known issue of the debian packages, there is an issue on ParaView gitlab to find a solution but nothing came up so far:  
[https://gitlab.kitware.com/paraview/paraview/-/issues/18751](https://gitlab.kitware.com/paraview/paraview/-/issues/18751)

---

<div class="post-metadata">

### Author: ![Hisham](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/h/f14d63/32.png) [@Hisham](https://discourse.vtk.org/u/Hisham)
#### Post date: [July 10, 2023, 9:07pm UTC](https://discourse.vtk.org/t/installing-paraview-without-removing-libvtk9-dev/11907/3 "2023-07-10T21:07:19Z")

</div>

Hi @mwestphal

Thank you for your help. I used libvtk7-dev instead.  
during running the `find_package` by the cmake file I get some missing reference, but it still builds. so for me this solves the problem for now.

![2023-07-10_20-48](https://discourse.vtk.org/uploads/default/original/2X/1/12aae6682a4eee129ef524d73ea7837449d4f79e.png)
