LINUXBREW-WRAPPER(7)

NAME
linuxbrew-wrapper - Wrapper of the Missing Package Manager For Linux

SYNOPSIS
linuxbrew [options]
brew [options]

DESCRIPTION
This wrapper package contains no linuxbrew itself, but just a wrapper script and an Homebrew/Linuxbrew upstream install script. And the wrapper script does:

  * run linuxbrew if it exists at your home.

  * run upstream install script if found no linuxbrew instance at your home.

In order to utilize software you installed with brew/linuxbrew, you may need to add linuxbrew directory in some environment variables:

  + PATH | for finding executable programs
    e.g. | export PATH="${HOME}/.linuxbrew/bin:${PATH}"

  + MANPATH | for finding manpages
    e.g. | export MANPATH="${HOME}/.linuxbrew/share/man:${MANPATH}"

  + INFOPATH | for finding info pages
    e.g. | export INFOPATH="${HOME}/.linuxbrew/share/info:${INFOPATH}"

Package linuxbrew-wrapper provided a example for configuring those environments, which is installed at /usr/share/doc/linuxbrew-wrapper/example/profile, and it also provided some other environments may be useful:

  + LD_LIBRARY_PATH | ld.so ENV indicating where to find .so files
    e.g. export LD_LIBRARY_PATH="${HOME}/.linuxbrew/lib:${LD_LIBRARY_PATH}"
  This is useful when you have built some programs which are linked with library packages installed with linuxbrew - You need a proper "RPATH" or "LD_LIBRARY_PATH" to tell ld.so where to find your custom shared object (*.so) files.

  + BREW_BIN | CUSTOM ENV pointing at linuxbrew's bin directory
    e.g. | export BREW_BIN="${HOME}/.linuxbrew/bin"
  Wrapper ENV, can be added into PATH like this -- PATH=$BREW_BIN:$PATH

  + BREW_INCLUDE | CUSTOM ENV pointing at linuxbrew's include directory
    e.g. | export BREW_INCLUDE="${HOME}/.linuxbrew/include"
  Wrapper ENV, can be appended to compiler arguments when you are including library installed with linuxbrew, like this -- gcc -I$BREW_INCLUDE

  + BREW_LIB | CUSTOM ENV pointing at linuxbrew's lib directory
    e.g. | export BREW_LIB="${HOME}/.linuxbrew/lib"
  Wrapper ENV, can be appended to compiler arguments when you are linking library installed with linuxbrew, like this -- gcc -L$BREW_LIB -l${THE_LIB_YOU_ARE_LINKING_WITH}

OPTIONS
The wrapper script has no OPTIONS at all, and all options given will be passed to the true linuxbrew. For the options of true linuxbrew please see brew(1).

EXAMPLE FILES
/usr/share/doc/linuxbrew-wrapper/examples/profile

BUGS

If you find a linuxbrew's packaging BUG or other BUG of Homebrew/Linuxbrew itself, then it may not be BUG of Debian, because such a bug is handled by Homebrew/Linuxbrew upstream, and in fact the files triggered that (packaging) BUG are likely not provided by this Debian package. Such BUG should be reported here:

  https://github.com/Homebrew/linuxbrew/issues

Apart from that, if you find a BUG on linuxbrew-wrapper, i.e. the troublesome file is listed in `dpkg -L linuxbrew-wrapper`, then it is a Debian BUG and please report it to Debian, thanks. ;-)

SEE ALSO
brew(1), ld.so(8).

This manpage was written by Zhou Mo for Debian, and may be used by others.