为什么我的 `brew list` 被未知库填充,我该如何摆脱它们?
Why is my `brew list` gets populated b unknown libraries and how do I get rid of them?
我的 mac 已经 1 个月了,我一直在安装 brew
和 brew cask
以保持一切正常,以便能够完全卸载不需要的软件. Brew cask list 似乎没问题,只列出了我实际安装的库。我用 brew install
安装了大约 10 个库。为什么我的列表现在看起来像这样???如何在不破坏内容的情况下删除不必要的库?
adns gettext lame libgpg-error libtiff mongodb-community openjpeg readline theora yarn
aom giflib leptonica libidn2 libunistring mongodb-community-shell openssl@1.1 ripgrep uchardet z
cairo glib libarchive libksba libusb mujs opus rtmpdump unbound zimg
flac gmp libass libogg libvidstab ncurses p11-kit rubberband vapoursynth zsh
fontconfig gnutls libassuan libpng libvorbis nettle pcre sdl2 webp zsh-completions
freetype graphite2 libbluray libsamplerate libvpx node pcre2 snappy x264 zsh-git-prompt
frei0r harfbuzz libevent libsndfile little-cms2 node@10 pinentry speex x265 zsh-syntax-highlighting
fribidi icu4c libffi libsoxr lua@5.1 npth pixman sqlite xvid
gdbm jpeg libgcrypt libtasn1 lzo opencore-amr python tesseract xz
有些公式需要或依赖于其他公式。您可以看到 formula X
依赖于哪些其他公式:
brew deps X
您可以看到哪些其他公式需要 formula X
与:
brew uses X --installed
您可以看到没有人依赖的公式:
brew leaves
一般来说,您可以尝试删除任何公式,因为它不会删除其他东西所需的任何内容,除非您使用:
brew rm --ignore-dependencies ...
我的 mac 已经 1 个月了,我一直在安装 brew
和 brew cask
以保持一切正常,以便能够完全卸载不需要的软件. Brew cask list 似乎没问题,只列出了我实际安装的库。我用 brew install
安装了大约 10 个库。为什么我的列表现在看起来像这样???如何在不破坏内容的情况下删除不必要的库?
adns gettext lame libgpg-error libtiff mongodb-community openjpeg readline theora yarn
aom giflib leptonica libidn2 libunistring mongodb-community-shell openssl@1.1 ripgrep uchardet z
cairo glib libarchive libksba libusb mujs opus rtmpdump unbound zimg
flac gmp libass libogg libvidstab ncurses p11-kit rubberband vapoursynth zsh
fontconfig gnutls libassuan libpng libvorbis nettle pcre sdl2 webp zsh-completions
freetype graphite2 libbluray libsamplerate libvpx node pcre2 snappy x264 zsh-git-prompt
frei0r harfbuzz libevent libsndfile little-cms2 node@10 pinentry speex x265 zsh-syntax-highlighting
fribidi icu4c libffi libsoxr lua@5.1 npth pixman sqlite xvid
gdbm jpeg libgcrypt libtasn1 lzo opencore-amr python tesseract xz
有些公式需要或依赖于其他公式。您可以看到 formula X
依赖于哪些其他公式:
brew deps X
您可以看到哪些其他公式需要 formula X
与:
brew uses X --installed
您可以看到没有人依赖的公式:
brew leaves
一般来说,您可以尝试删除任何公式,因为它不会删除其他东西所需的任何内容,除非您使用:
brew rm --ignore-dependencies ...