Install OpenCascade on Linux

Dear all,

     I did download OCC 7.4 but I dont know how to install it on Linux.

     Any clue on this?

Thanks,

Kirill Gavrilov's picture

Linux distributions provide own packages for Open CASCADE Technology. Thus, at first - try checking what comes with your Linux:
https://repology.org/project/opencascade/versions

Most still come with older versions of OCCT, so that you will need downloading a source archive within OCCT 7.4.0 (or clone git repository), install necessary build tools, install/build required dependencies and then build OCCT itself. OCCT provides CMake scripts, which also incluse INSTALL target - so that you can install it into system, if this is what you actually want. It is more practical, though, installing custom OCCT not into system, but into another location, which can be specified by INSTALL_DIR parameter in CMake.
https://dev.opencascade.org/doc/overview/html/occt_dev_guides__building.html
https://dev.opencascade.org/index.php?q=home/resources

stateof3d_161058's picture

Thank you for the detailed answer.

lv 6666's picture

Is there an OpenCasCade sample project established using Qt in linux system? Or how to use Qt to build a new project under linux system. I have tried many methods to no avail, which makes me very upset.

Ekanem Joseph's picture

Yes, there are many examples of OpenCascade projects created using Qt on a Linux system. OpenCascade is 3D modeling software and includes many libraries and tools that can be used to develop applications in C++. If you want to use Qt to build a new project on Linux, you should follow the procedure for installing Qt on your system and participating in Qt Creator. You can also request that the OpenCascade header files and libraries be installed for your system and used in the next project.