Skip to content

Installation

Bubbaloop can be installed in two ways: using pre-built binaries (recommended for users) or building from source (for developers).

Download and install everything with a single command:

curl -sSL https://github.com/kornia/bubbaloop/releases/latest/download/install.sh | bash

This installs:

Component Description
zenohd Zenoh router for pub/sub messaging
zenoh-bridge WebSocket bridge for browser access
bubbaloop Single binary: CLI, TUI, and daemon

After installation, start a new terminal or source your shell config, then run:

bubbaloop

Requirements

  • Linux — x86_64 or ARM64 (Ubuntu, Jetson, Raspberry Pi)

Verify Installation

# Check services are running
systemctl --user status zenohd
systemctl --user status bubbaloop-daemon

# Run TUI
bubbaloop

Upgrading

To upgrade to a new version:

curl -sSL https://github.com/kornia/bubbaloop/releases/latest/download/install.sh | bash

The script handles upgrading existing installations.

Development Install

For contributors or building from source.

System Requirements

Platform Status Notes
Ubuntu 22.04+ Supported Primary development platform
NVIDIA Jetson Supported Tested on JetPack 5.x/6.x
macOS Experimental GStreamer may require additional setup
Windows Not tested WSL2 may work

Hardware Requirements

  • CPU: Any x86_64 or ARM64 processor
  • RAM: 2GB minimum, 4GB+ recommended for multiple cameras
  • Network: Ethernet recommended for multiple camera streams

1. Install Pixi

Pixi is the package manager used by Bubbaloop:

curl -fsSL https://pixi.sh/install.sh | sh

Restart your terminal or source your shell configuration:

source ~/.bashrc  # or ~/.zshrc

2. Clone the Repository

git clone https://github.com/kornia/bubbaloop.git
cd bubbaloop

3. Install Dependencies

pixi install

This automatically installs:

Component Description
Rust toolchain Compiler for building Bubbaloop
GStreamer Video capture and processing
Node.js Dashboard runtime
protobuf Protocol buffer compiler
pkg-config, cmake Build tools

4. Build

Build all Rust binaries:

pixi run build

5. Run

# Start all services
pixi run up

# Or run individually
pixi run daemon      # Start daemon
pixi run tui         # Start TUI
pixi run dashboard   # Start web dashboard

Service Management

The install script sets up systemd user services:

# View status
systemctl --user status zenohd
systemctl --user status zenoh-bridge
systemctl --user status bubbaloop-daemon

# Restart services
systemctl --user restart bubbaloop-daemon

# View logs
journalctl --user -u bubbaloop-daemon -f

# Stop all services
systemctl --user stop bubbaloop-daemon zenoh-bridge zenohd

Troubleshooting

"bubbaloop: command not found"

The installer adds ~/.bubbaloop/bin to your PATH. Restart your terminal or run:

source ~/.bashrc  # or ~/.zshrc

Services not starting

Check if systemd user services are enabled:

systemctl --user list-unit-files | grep bubbaloop
loginctl enable-linger $USER

"pixi: command not found"

Restart your terminal or run:

source ~/.bashrc

Build failures

Clear the build cache and retry:

pixi run cargo clean
pixi run build

Next Steps