cant use paraview with ubuntu

when I try to open Para view with ubuntu for open foam . I am not able to get the paraview it is showing error like paraview: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory.
How can i solve this issue

Where did you get your ParaView from?

Downloaded straight from the paraview site

Well, that is interesting as it should come with Qt5 in there. Are you setting any environment variables or using other environment-modifying tools before launching ParaView?

No I didnt set up any enviornment variables . I was using it for the openfoam . is there any way that i can get Qt5 after downloading or do i have to reinstall the software

The Linux binaries are just tarballs you extract wherever; they don’t need to be installed. How are you trying to use it with openfoam?

I am trying to call the paraview using (paraview &) and (paraFoam) commands for both of this cases i am facing the same issue

Does just paraview work? Let’s try and narrow down where things are going wrong.

yea the paraview alone works.

The paraFoam you have might need updated to work with the ParaView version. If that’s the case, the OpenFoam developers are probably more able to assist. Alternatively, get a ParaView version that matches what it expects.

Okay I ll try with the new version.

hi i tried with new version and I saw notification from openfoam that there is a segmentation fault while opening paraview with openfoam.
thank you for your help