# Install sysbench with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

System performance benchmark tool. Version 1.0.20 via Homebrew; verified from local package data. Also installable with debian: sudo apt install sysbench.

## Install

```sh
sudo av install brew:sysbench
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sysbench
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sysbench
```

  Evidence: MacPorts ports tree: benchmarks/sysbench/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add sysbench
```

  Evidence: Alpine Linux edge package indexes: sysbench from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install sysbench
```

  Evidence: Debian stable package indexes: sysbench from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install sysbench
```

  Evidence: Fedora Rawhide package metadata: sysbench from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#sysbench
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sy/sysbench/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S sysbench
```

  Evidence: Arch Linux sync databases: sysbench from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install sysbench
```

  Evidence: openSUSE Tumbleweed package metadata: sysbench from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:sysbench
- **Package manager:** Homebrew
- **Version:** 1.0.20
- **Source summary:** System performance benchmark tool
- **Homepage:** <https://github.com/akopytov/sysbench>
- **Repository:** <https://github.com/akopytov/sysbench>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- sysbench (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.20
## Project history and usage

sysbench is a scriptable multi-threaded benchmark CLI, best known in package-manager culture as a quick way to install repeatable CPU, memory, file I/O, thread, mutex, and database benchmark workloads.

### Project history

The official README describes sysbench as a LuaJIT-based, scriptable, multi-threaded benchmark tool. Although it is frequently used for database benchmarks, upstream explicitly presents it as a general workload engine that can create complex benchmarks without a database server.

The 1.0 release series, visible in the official GitHub releases page, turned sysbench into a regularly packaged upstream with release notes that repeatedly mention CI, Linux distribution packaging, macOS build fixes, and compatibility with PostgreSQL and MySQL versions.

### Adoption history

Upstream documents binary installation through packagecloud repositories for Debian/Ubuntu, RHEL/CentOS, and Fedora, and also points Arch Linux users to `pacman -Suy sysbench`.

The input package facts list sysbench across apk, Homebrew, Debian, Fedora/dnf, MacPorts, Nix, Arch, Ubuntu, and zypper ecosystems, which matches its role as a standard benchmark utility carried by many Unix-like package managers.

### How it is used

Typical CLI usage is `sysbench [options]... [testname] [command]`, with bundled workloads such as `oltp_*.lua`, `fileio`, `cpu`, `memory`, `threads`, and `mutex`.

Database users commonly install sysbench to generate OLTP-like load, while systems users use the same command to compare machines, virtual instances, storage, or packaging choices with a small reproducible benchmark.

### Why package nerds care

sysbench matters to package nerds because it is both a package and a measuring stick for packages: it is often installed to compare hardware, kernels, database builds, filesystem behavior, or VM/container performance.

Its LuaJIT scripting model makes it more flexible than a fixed microbenchmark while staying easy to ship as a single command-line tool.

### Timeline

- 2018-04-01: sysbench 1.0.14 release notes included JSON stats reporter fixes.
- 2018-12-16: sysbench 1.0.16 release notes included packaging matrix updates and SQL/API fixes.
- 2019-10-21: sysbench 1.0.18 release notes included Debian Buster, CentOS 8, Fedora 30, and macOS Mojave build-related work.
- 2020-04-24: sysbench 1.0.20 was released with CI and packaging updates including arm64 and Ubuntu Focal.

### Related projects

- LuaJIT is central to sysbench's scripting model.
- MySQL, PostgreSQL, and other SQL servers are common benchmark targets through sysbench's bundled OLTP workloads.
- packagecloud is used by upstream for binary package repositories.

### Sources

- <https://github.com/akopytov/sysbench#readme>
- <https://github.com/akopytov/sysbench/releases>
- <https://packagecloud.io/akopytov/sysbench/install>
- input source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Debian apt - sysbench - 1.0.20+ds-7: normalized package name match | Debian stable package indexes: sysbench from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | multi-threaded benchmark tool for database systems | https://github.com/akopytov/sysbench
- Nix - sysbench: normalized package name match | nixpkgs package indexes: pkgs/by-name/sy/sysbench/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sysbench - 1.0.20+ds-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: sysbench from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | multi-threaded benchmark tool for database systems | https://github.com/akopytov/sysbench
- apk - sysbench - 1.0.20-r5: normalized package name match | Alpine Linux edge package indexes: sysbench from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Scriptable database and system performance benchmark | https://github.com/akopytov/sysbench
- apk - sysbench-dev - 1.0.20-r5: normalized package name match | Alpine Linux edge package indexes: sysbench-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Scriptable database and system performance benchmark (development files) | https://github.com/akopytov/sysbench
- apk - sysbench-doc - 1.0.20-r5: normalized package name match | Alpine Linux edge package indexes: sysbench-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Scriptable database and system performance benchmark (documentation) | https://github.com/akopytov/sysbench
- dnf - sysbench - 1.0.20-21.fc45: normalized package name match | Fedora Rawhide package metadata: sysbench from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | System performance benchmark | https://github.com/akopytov/sysbench/
- pacman - sysbench - 1.0.20-2: normalized package name match | Arch Linux sync databases: sysbench from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Scriptable multi-threaded benchmark tool for databases and systems | https://github.com/akopytov/sysbench
- zypper - sysbench - 1.0.20-1.29: normalized package name match | openSUSE Tumbleweed package metadata: sysbench from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A MySQL benchmarking tool | https://github.com/akopytov/sysbench
- MacPorts - sysbench: normalized package name match | MacPorts ports tree: benchmarks/sysbench/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/sysbench.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sysbench.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
