This repository packages Homebrew for Linux as an RPM package.
The RPM package sets up a Homebrew installation in /usr/share/homebrew. To
minimize deviation from the official install script, this installation is
produced at build-time using a version of the install script that's been patched
to use a different installation prefix and to omit steps that should wait until
after installation (such as setting up the Homebrew cache and running
brew update).
If Homebrew has not already been set up on the user's system, a systemd-tmpfiles
configuration copies this installation to /home/linuxbrew and transfers
ownership of it to the linuxbrew user. The package also sets up systemd
services to automatically update Homebrew, as well as shell completions for the
bash and fish shells.
To make it more convenient for authorized users to manage the Homebrew
installation, the brew-proxy package can be installed. This includes a
DBus-activated service that allows authorized users to execute brew commands
as the linuxbrew user via the brew-proxy command.
Various files, including the systemd unit files and shell completion scripts, are adapted from Universal Blue's Homebrew packaging and BlueBuild's brew module and are redistributed under the terms of the Apache-2.0 license.
Homebrew itself is available under the terms of the BSD-2-Clause license.
This repository complies with the REUSE Specification, Version 3.3; copyright and license information for each file is documented using SPDX headers.