Installing Paraview without removing libvtk9-dev

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.

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

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