Homebrew 3.0 für Linux & Mac: Freie Paketverwaltung unterstützt Apple Silicon

Sven Bauduin
12 Kommentare
Homebrew 3.0 für Linux & Mac: Freie Paketverwaltung unterstützt Apple Silicon
Bild: Homebrew

Die freie und quelloffene Paketverwaltung Homebrew für die Betriebssysteme Linux und macOS sowie das Linux Windows Subsystem für Linux (WSL) ist in der Version 3.0 erschienen und unterstützt jetzt auch erstmals den M1-Prozessor auf Basis der aktuellen ARM-Plattform Apple Silicon von Apple, benötigt zum Teil aber noch Emulation.

Homebrew auf Apple Silicon

Mit dem Update auf die neueste Version läuft Homebrew erstmals auf dem neuen MacBook Air, MacBook Pro 13-Zoll sowie Mac mini mit M1-SoC, greift dazu aber vorerst noch auf die x86-64-Binär-Übersetzung Rosetta 2 für ARM64 unter macOS 11 Big Sur zurück, wie die Entwickler in ihrer offiziellen Ankündigung explizit anmerken.

Die offiziellen Release Notes zu Homebrew 3.0 enthalten zudem die obligatorischen Fehlerkorrekturen und Optimierungen.

Major changes and deprecations since 2.7.0:
  • Apple Silicon is now officially supported for installations in /opt/homebrew. formulae.brew.sh formula pages indicate for which platforms bottles (binary packages) are provided and therefore whether they are supported by Homebrew.
  • Homebrew doesn’t (yet) provide bottles for all packages on Apple Silicon that we do on Intel x86_64 but we welcome your help in doing so. Rosetta 2 on Apple Silicon still provides support for Intel x86_64 in /usr/local.
  • brew bottle and bottle do blocks use a new syntax format (one :cellar per platform). brew style --fix will autocorrect formulae to this new format. This will allow more bottles to be relocatable.
  • The new HOMEBREW_BOOTSNAP environment variable allows the use of the Bootsnap gem to speed up repeated brew calls. This does not work (yet) on Apple Silicon or using Homebrew’s portable Ruby.
  • Various methods have been deprecated, disabled and removed
  • Bash, fish and zsh completions are generated automatically from the CLI::Parser DSL. This will ensure they are kept up-to-date.
  • brew update better handles upstream branch renames (e.g. from master to main)
  • brew completions is a new command to opt-in to completions provided by third-party taps
Other changes since 2.7.0 I’d like to highlight are the following:
  • Command usage text is automatically generated (so will be kept-up-to-date)
  • brew audit reads more formula data from taps
  • brew untap of an official tap you don’t use (e.g. Homebrew/homebrew-cask) will ensure it’s no longer automatically retapped
  • brew casks is a new command implemented in Bash to speedily output all casks available to install (like brew formulae)
  • brew info --cask --json=v2 includes whether a cask is outdated and the currently installed versions
  • Fixed a bug where brew update could be run every time
  • brew --prefix --installed is a new flag to brew --prefix that will fail if the requested formula is not installed
  • We now use an unversioned SDK path on Big Sur to avoid breakage on minor SDK version changes Finally:
Homebrew 3.0 – Release Notes

Die freie Paketverwaltung steht unter der BSD-Lizenz und liefert insbesondere Programme und Tools, die von Paket-Managern unter Linux und macOS nicht standardmäßig angeboten werden.

Probieren geht über Studieren

Anwender, die sich die alternative Paketverwaltung Homebrew einmal näher ansehen wollen, finde alle benötigten Informationen auf der offiziellen Website, in der äußerst umfangreichen Dokumentation sowie auf der Projektseite der Entwicklerplattform GitHub. Der YouTube-Kanal „Hands-On Mac“ stellt das Tool im Detail vor.