手动删除这些链接。 code>并重新运行安装程序。 IIRC它至少 cmake , ccmake , cmake-gui , cpack 和 ctest 。最好的方法是从控制台执行 ls -l / usr / bin ,并为所有指向的链接执行 grep 旧的CMake安装目录。The easiest fix here is to manually remove those links from /usr/bin and re-run the installer. IIRC it's at least cmake, ccmake, cmake-gui, cpack and ctest that need removing. Best way is to do a ls -l /usr/bin from the console and grep for all the links pointing to the old CMake installation directory. 这篇关于cmake安装程序Mac无法创建/ usr / bin符号链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 07-31 17:22