Paraview error GLIBCXX_3.4.26 not found

Hello all, I am new to openfom and paraview. I have installed openfoamv2006 and latest paraview (using terminal command sudo apt-get install paraview) but when I am trying to view mesh I am getting this error. I have tried different solution but I am not getting through; updated, upgraded libraries and everything but nothing happened.

/home/user/OpenFOAM/ThirdParty-v2006/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by /usr/bin/../lib/x86_64-linux-gnu/libpqApplicationComponents-pv5.7.so.1) paraview: /home/user/OpenFOAM/ThirdParty-v2006/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version GLIBCXX_3.4.26’ not found (required by /usr/bin/…/lib/x86_64-linux-gnu/libvtkPVServerManagerCore-pv5.7.so.1)
paraview: /home/user/OpenFOAM/ThirdParty-v2006/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26’ not found (required by /lib/x86_64-linux-gnu/libgeos-3.8.0.so)

Your OpenFOAM installation comes with a libstdc++ that is too old for the ParaView that is available via apt-get install. You’ll likely need either a newer OpenFOAM or an older ParaView.

Can I update this version or do I have to remove it and do a fresh installation?

Maybe? You can try moving the old one out of the OpenFOAM directory and using the system one instead. The library is meant to be ABI compatible to itself at least.