Saturday, August 9, 2025

terminal – Deleted Installed Formulae “icu4c” in Homebrew Core. I can’t uninstall icu4c? Why removed in core?

Upgrade output:

==> Updated Homebrew from c81b2e4385 to 0e24ee2c08.
Updated 2 taps (homebrew/core and homebrew/cask).
==> Deleted Installed Formulae
icu4c ✘
==> Outdated Formulae
python-setuptools

https://github.com/Homebrew/homebrew-core/blob/master/Formula/i/icu4c.rb returns 404

Info about the lib:

brew info icu4c
==> icu4c@75: stable 75.1 (bottled) [keg-only]
C/C++ and Java libraries for Unicode and globalization
https://icu.unicode.org/home
Installed
/opt/homebrew/Cellar/icu4c@75/75.1 (277 files, 78.8MB)
  Poured from bottle using the formulae.brew.sh API on 2024-10-07 at 17:46:21
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/i/[email protected]
License: ICU
==> Caveats
icu4c@75 is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c@75 first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/icu4c@75/bin:$PATH"' >> ~/.zshrc
  echo 'export PATH="/opt/homebrew/opt/icu4c@75/sbin:$PATH"' >> ~/.zshrc

For compilers to find icu4c@75 you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/icu4c@75/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/icu4c@75/include"

You have 1 outdated formula installed.

I try to uninstall, but lots of important formulae depends on it

brew uninstall  --zap icu4c
Error: Refusing to uninstall /opt/homebrew/Cellar/icu4c@75/75.1
because it is required by ffmpeg, ghostscript, harfbuzz, imagemagick, libass, librsvg, mat2, pango and tesseract, which are currently installed.
You can override this and force removal with:
  brew uninstall --ignore-dependencies icu4c

How-To uninstall and/or fix the situation with icu4c?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles