Thu, 09/07/2023 - 22:46
Forums:
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
Fri, 09/08/2023 - 07:27
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 overridingCMAKE_INSTALL_PREFIX
, so that you may simply delete entire folder and keep your system environment clean.Fri, 09/08/2023 - 11:36
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?
Fri, 09/08/2023 - 12:24
/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.