Kingfish404
V2EX  ›  macOS

[软件相关] 关于开发类软件如 cmake 之类的的卸载与整理

  •  
  •   Kingfish404 · Jul 10, 2021 · 2857 views
    This topic created in 1941 days ago, the information mentioned may be changed or developed.

    今天用 cmake 时,发现一个项目要求要 3.19.+版本的,然后我发现我 path 里的 cmake 是 3.18.x,但是 brew 的是 3.20.x

    brew 安装的固然好管理,但是已经完全忘记了 3.18.x 版本的 cmake 是啥时候装的了,安装在哪里,如何卸载

    目前用brew link --overwrite cmake覆盖了,但是知道有个老版本存留就很难受,最近想清理干净这些非 brew 安装的开发类软件

    512g 的 MBP 今天发现只有 30g+可以用了,很难受了

    6 replies  •  2021-07-11 21:25:49 +08:00
    shawnzhong
    shawnzhong
    Jul 10, 2021 via iPhone
    1
    which -a cmake
    cattyhouse
    cattyhouse
    Jul 10, 2021
    2
    @shawnzhong on zsh: where cmake
    Kingfish404
    Kingfish404
    OP
    Jul 10, 2021
    3
    这样找到的都是 brew 的诶,找不到其他的
    chenlee9876
    chenlee9876
    Jul 11, 2021 via iPhone
    5
    遇到过和楼主类似的情况,只不过我的新旧软件是 MySQL5.7 和 MySQL8.0 也是旧版本没卸载干净

    给楼主一个思路,我的做法是打开活动监视器,找到 musqld 服务,然后查看详细信息就能拿到安装的位置了……
    Kingfish404
    Kingfish404
    OP
    Jul 11, 2021
    6
    @chenlee9876 但是旧的版本的 cmake 的软链被我给 overwrite 了,现在启动不了旧的了,也找不到在哪里了,感觉还有别的类似软件也这样了,还怕删错
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1382 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:15 · PVG 04:15 · LAX 12:15 · JFK 15:15
    ♥ Do have faith in what you're doing.