thekoc
V2EX  ›  macOS

caskroom 里的 pkg 包可以删掉吗?

  •  
  •   thekoc · Apr 2, 2017 · 3390 views
    This topic created in 3327 days ago, the information mentioned may be changed or developed.

    用 homebrew cask 装了 MacTeX ,发现 /usr/local/Caskroom/mactex/ 文件夹还有 5G 的 pkg ,可以删掉吗?

    Supplement 1  ·  Apr 3, 2017
    这个是 Homebrew Cask 不是 Homebrew
    12 replies    2017-04-03 19:38:41 +08:00
    thekoc
        1
    thekoc  
    OP
       Apr 2, 2017

    有两个版本
    anguslg
        2
    anguslg  
       Apr 2, 2017
    可以的,安装包而已
    thekoc
        3
    thekoc  
    OP
       Apr 2, 2017
    @anguslg 诶没什么用的么。。。
    那官网上还写 "Your software is just one command away from being ready and raring to go." = =
    完全不省心啊
    anguslg
        4
    anguslg  
       Apr 2, 2017
    @thekoc 你从 qq 官网上下载了一个 QQ.exe, 安装到了 program files 里,以后用 qq 只要到 program files 里打开 qq.exe 就好了。下载的 QQ.exe 你还会留着吗
    salpha17
        5
    salpha17  
       Apr 2, 2017
    brew cask cleanup
    rashawn
        6
    rashawn  
       Apr 2, 2017 via iPhone
    对啊 有 cleanup 啊
    thekoc
        7
    thekoc  
    OP
       Apr 3, 2017
    @salpha17
    @rashawn
    clean up 不会清理这一部分文件
    thekoc
        8
    thekoc  
    OP
       Apr 3, 2017
    $ brew cask cleanup
    ==> Removing cached downloads
    Nothing to do

    会这样显示
    hackpro
        9
    hackpro  
       Apr 3, 2017 via iPhone
    brew upgrade 按照版本号分目录管理,但是不会删除历史版本目录
    20015jjw
        10
    20015jjw  
       Apr 3, 2017 via Android
    我记得 pkg 是拿来卸载的..
    wangxm
        11
    wangxm  
       Apr 3, 2017
    是这样, cleanup 会删除以前版本,但不会删除当前版本,其实你可以直接删除,有问题再从新安装。
    FurN1
        12
    FurN1  
       Apr 3, 2017
    我装大软件是不会用 cask 的。毕竟 cask 不能升级软件。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3420 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 11:03 · PVG 19:03 · LAX 04:03 · JFK 07:03
    ♥ Do have faith in what you're doing.