homebrew - 为什么我的 `brew list` 会被填充到未知库中,我该如何摆脱它们?
问题描述
我的 Mac 已经 1 个月大了,我一直在尽我所能安装brew
并brew cask
保持一切井井有条,以便能够完全卸载不必要的软件。Brew cask list 似乎没问题,只列出了我实际安装的库。我已经安装了大约 10 个库brew install
。为什么我的列表现在是这个样子???如何在不破坏内容的情况下摆脱不必要的库?
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 ...
推荐阅读
- python - PackagesNotFoundError:当前频道无法提供以下软件包:python_cypher==0.14.2,py2neo==4.3.0,ruamel.base==1.0.0
- excel - 如何将新数据合并/导入到具有多个匹配列的 Excel 工作表中
- reactjs - 使用 useState 添加对象时,状态被清空
- ios - iOS 应用程序崩溃 AppleMetalGLRenderer gldReadFramebufferData
- selenium-webdriver - 有没有办法将每个测试用例的 Azure DevOps 测试计划参数作为 Visual Studio 自动化测试的一部分?
- reactjs - 如何在 React 中渲染 PDF
- firebase - 使用 Flutter 从 Cloud Firestore 加载图像非常慢
- php - php在字符串中包含数字
- mysql - 尝试通过查询在输出下方打印
- vue.js - 带有 prop :touchless="true" 的 v-tab-item 仍然允许用户在选项卡之间滑动