Upgrade OCCT version

Hello,

I have installed installed the 7.4 version of OCCT by cloning the repository and using cmake "make install".
Now I want to upgrade to the current version.

Is there an option to "make uninstall" the older version?

Best Regards
Kaiwen

gkv311 n's picture

I guess you are referring to Makefiles generated by CMake for OCCT? Unfortunately, no - this tool doesn't provide UNINSTALL script out of the box, though their FAQ suggests how to implement it.

Projects' distribution is usually done with help of package managers or installers (deb, rpm, exe, etc.), so that INSTALL generated by CMake is not the final step. In development environment it is preferred overriding CMAKE_INSTALL_PREFIX, so that you may simply delete entire folder and keep your system environment clean.

Kaiwen He's picture

Hello,

sorry for the noob question, but do I rather implement the uninstall script or do I just delete the opencascade folder in my usr/include directory?

gkv311 n's picture

/usr/include/opencascade is only one folder installed into the system. You'll need to locate other files as well (libraries, resources, symlinks, executables) - either manually (check the log if INSTALL target) or by writing some script on your own.