Avatar

homebrew

posted: Tue, Jul 4, 2023 | tagged: references | tech
return to references home


Validated in Ubuntu 22.04 LTS

install homebrew

Homebrew logo

Homebrew is a package manager intended for macOS but also works on Linux. Homebrew brings a lot of Linux functionality to macOS, but some developers build specifically for Homebrew. There is an impressive list of packages available for Homebrew.

  • Visit brew.sh and follow the instructions there to install Homebrew on Linux. As of this writing, here is the command you'll enter:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Note the last few output notes as there are some post install steps
  • If you are running TLDR, be sure to update with tldr -u

You should now have Homebrew installed, and if you followed the notifications at the end of the install, you've added the path to Homebrew to your PATH environment variable and can call Homebrew via brew.

As mentioned above, visit the brew formulae page to see the very broad list of packages available. But do note, with Ubuntu Linux many of these packages have native builds in your default package manager. I'd probably opt for the native package from the package manager unless it is seriously out of date before using a Homebrew package.

signature