Skip to content

Installation

Laszlo Nagy edited this page Mar 31, 2026 · 1 revision

Installation

See INSTALL.md for full installation instructions, including:

  • Installing from distribution packages
  • Building from source (prerequisites, build, install)
  • Custom installation with PREFIX and INTERCEPT_LIBDIR
  • Shell completions setup
  • Uninstalling

Distribution packages are available for most platforms. Check the Repology page for availability.

Quick reference

# Debian / Ubuntu
sudo apt install bear

# Fedora
sudo dnf install bear

# Arch Linux
sudo pacman -S bear

# macOS (Homebrew)
brew install bear

# FreeBSD
pkg install bear

Notes

  • Bear requires Rust 1.85+ when building from source (uses the Rust 2024 edition).
  • A C compiler (gcc or clang) is also required to build the preload library (libexec.so).
  • Some distribution packages may lag behind the latest release. If you need v4.x features, build from source.
  • For packaging-specific guidance, see the Packaging page.

Clone this wiki locally