Hasty Briefsbeta

Homebrew on Linux

11 days ago
  • #Package Manager
  • #Linux
  • #Homebrew
  • Homebrew can be used on Linux and Windows Subsystem for Linux (WSL) 2.
  • Homebrew was formerly called Linuxbrew when used on Linux or WSL.
  • Homebrew does not rely on host system libraries except for glibc and gcc if they are new enough.
  • Homebrew can install its own versions of glibc and gcc for older Linux distributions.
  • Features include installing software not packaged by the host distribution and managing macOS, Linux, and Windows systems with the same package manager.
  • Installation is best done in the default prefix `/home/linuxbrew/.linuxbrew` to use precompiled binaries.
  • Building from source outside the default prefix is unsupported and may cause issues.
  • Users without admin access can request a `linuxbrew` role account to benefit from precompiled binaries.
  • Follow instructions to add Homebrew to your PATH and shell rcfile.
  • Use `brew doctor` to troubleshoot common issues.
  • Requirements include build tools, which vary by Linux distribution.
  • ARM32 systems are Tier 3 supported, lacking binary packages.
  • 32-bit x86 platforms are unsupported.
  • WSL 1 is Tier 3 supported, with WSL 2 recommended due to known issues.