Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 hackrf

查看 hackrf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install hackrf

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install hackrf

MacPorts ports tree · science/hackrf/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add hackrf

Alpine Linux edge package indexes · hackrf · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install hackrf

Debian stable package indexes · hackrf · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install hackrf

Fedora Rawhide package metadata · hackrf · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#hackrf

nixpkgs package indexes · pkgs/by-name/ha/hackrf/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S hackrf

Arch Linux sync databases · hackrf · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install hackrf

openSUSE Tumbleweed package metadata · hackrf · 来源: download.opensuse.org

概览

软件包摘要

Low cost software radio platform

命令和别名

  • hackrf_biast
  • hackrf_clock
  • hackrf_cpldjtag
  • hackrf_debug
  • hackrf_info
  • hackrf_operacake
  • hackrf_spiflash
  • hackrf_sweep
  • hackrf_transfer

历史

项目历史与用法

HackRF is Great Scott Gadgets' open source software-defined radio platform, packaged for Unix users as the libhackrf host library plus command-line tools such as hackrf_info, hackrf_transfer, hackrf_sweep, hackrf_spiflash, and hackrf_operacake. The project is unusual in package-manager culture because it ships software for a physical RF instrument: installing the package is the bridge between a laptop and a HackRF One, Jawbreaker, rad1o, Opera Cake, or HackRF Pro device.

项目历史

The public GitHub repository was created in 2012 and identifies Michael Ossmann as the principal author. Great Scott Gadgets' product documentation describes HackRF One as the first production hardware platform for the HackRF project, a half-duplex SDR peripheral for transmitting or receiving signals from 1 MHz to 6 GHz. The official product page frames the hardware as an open source platform for testing and developing modern radio technologies.

HackRF's early public adoption was helped by Michael Ossmann's Kickstarter campaign for an open source SDR platform and by the later Software Defined Radio with HackRF course material. The documentation records that Great Scott Gadgets began shipping HackRF One revision r1 in 2014, with later revisions driven mostly by component availability while preserving the same factory-measured performance specifications.

The software evolved alongside the hardware. Release notes show host-tool and firmware releases adding multiple-device support, sweep mode for wideband spectrum monitoring, automatic CPLD bitstream loading, Opera Cake antenna-switch support, and hardware support for HackRF One r9. A 2026 release added HackRF Pro support while keeping compatibility with HackRF One-oriented software as an explicit goal.

采用历史

Great Scott Gadgets lists GNU Radio, GQRX, QSpectrumAnalyzer, SDR#, SDR Console, Universal Radio Hacker, SigDigger through SoapySDR, and other tools as software with direct HackRF support, while tools such as Baudline, Inspectrum, and Matlab can consume data captured with hackrf_transfer. That ecosystem made the Homebrew package valuable even for users who never built firmware or hardware files.

HackRF also became part of security and radio education workflows because it combined transmit and receive capability, open hardware design files, and a low-cost host-tool stack. The official SDR with HackRF course ties the device to GNU Radio, DSP fundamentals, signal capture, replay experiments, and multiple-HackRF workflows, which explains why package users often treat the CLI tools as lab utilities rather than a standalone application.

使用方式

Package-manager users install HackRF mainly to get libhackrf and the hackrf-tools executables. Typical workflows include checking device identity and firmware with hackrf_info, capturing or transmitting signed 8-bit quadrature samples with hackrf_transfer, scanning spectrum ranges with hackrf_sweep, flashing firmware with hackrf_spiflash, and configuring Opera Cake antenna switching with hackrf_operacake.

The official documentation stresses that host tools and firmware should match. This matters for package maintainers because formula upgrades can expose users to mismatches between a newly installed libhackrf and older device firmware, and because some releases require both host-side and device-side updates.

为什么软件包爱好者会关心

HackRF is a classic hardware-adjacent package: it looks like a small CLI formula, but it carries USB access, firmware coordination, SDR application compatibility, and regulatory context. For Homebrew and other package systems, the value is not only the binaries but also a reproducible path to libhackrf for tools that detect or link against HackRF support.

It is also a useful case study in open hardware packaging. The same upstream repository contains hardware designs, firmware, host libraries, tools, and documentation, while the package usually exposes only the host-side pieces needed by desktop SDR applications.

时间线

  • 2012: Public GitHub repository created for the HackRF hardware and software platform.
  • 2013: Kickstarter campaign presented HackRF as an open source SDR platform by Michael Ossmann.
  • 2014: Great Scott Gadgets began shipping HackRF One r1 hardware.
  • 2015: Software Defined Radio with HackRF course material documented practical GNU Radio and HackRF workflows.
  • 2017: HackRF release notes documented sweep mode for wideband spectrum monitoring.
  • 2021: Release notes documented automatic CPLD bitstream loading through firmware.
  • 2022: Release notes documented Opera Cake support and documentation migration into the repository docs tree.
  • 2023: Release notes documented HackRF One r9 hardware support.
  • 2026: Release notes documented HackRF Pro support in libhackrf and hackrf-tools.

Related projects

  • GNU Radio: common SDR environment used with HackRF.
  • SoapySDR and SigDigger: SDR software layers that can use HackRF through supported interfaces.
  • Opera Cake: Great Scott Gadgets antenna-switch add-on configured by hackrf_operacake.
  • Ubertooth One: another Great Scott Gadgets open hardware radio/security tool, related by community and use case rather than by code.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
hackrf_biastcli全局可执行文件
hackrf_clockcli全局可执行文件
hackrf_cpldjtagcli全局可执行文件
hackrf_debugcli全局可执行文件
hackrf_infocli全局可执行文件
hackrf_operacakecli全局可执行文件
hackrf_spiflashcli全局可执行文件
hackrf_sweepcli全局可执行文件
hackrf_transfercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2026.01.3
管理器更新时间2026-06-15
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/greatscottgadgets/hackrf

安装元数据

软件包元数据

软件包键brew:hackrf
版本2026.01.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/hackrf
主页https://greatscottgadgets.com/hackrf/
仓库https://github.com/greatscottgadgets/hackrf
上游文档https://github.com/greatscottgadgets/hackrf#readme
许可证GPL-2.0-or-later
源码归档https://github.com/greatscottgadgets/hackrf/releases/download/v2026.01.3/hackrf-2026.01.3.tar.xz
最后更新2026-06-15T10:20:18-04:00
Pulseupdated
依赖fftw, libusb
构建依赖cmake, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehackrf
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

hackrf 2024.02.1-3

Software defined radio peripheral - utilities

http://greatscottgadgets.com/hackrf/

sudo apt install hackrf
  • Section: libs
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Hackrf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: hackrf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

hackrf-doc 2024.02.1-3

Software defined radio peripheral - documentation

http://greatscottgadgets.com/hackrf/

sudo apt install hackrf-doc
  • Section: doc
  • Architecture: all
  • Source Package: hackrf
  • 6 依赖
  • normalized package name match
  • 匹配方式:Hackrf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: hackrf-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

hackrf-firmware 2024.02.1-3

Firmware for HackRF devices

http://greatscottgadgets.com/hackrf/

sudo apt install hackrf-firmware
  • Section: libs
  • Architecture: all
  • Source Package: hackrf
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Hackrf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: hackrf-firmware from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhackrf-dev 2024.02.1-3

Software defined radio peripheral - development

http://greatscottgadgets.com/hackrf/

sudo apt install libhackrf-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: hackrf
  • 1 依赖
  • normalized package name match
  • 匹配方式:Hackrf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhackrf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhackrf0 2024.02.1-3

Software defined radio peripheral - runtime library

http://greatscottgadgets.com/hackrf/

sudo apt install libhackrf0
  • Section: libs
  • Architecture: amd64
  • Source Package: hackrf
  • 2 依赖
  • normalized package name match
  • 匹配方式:Hackrf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhackrf0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

hackrf

nix profile install nixpkgs#hackrf
  • normalized package name match
  • 匹配方式:Hackrf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ha/hackrf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

hackrf 2023.01.1-9build1

Software defined radio peripheral - utilities

http://greatscottgadgets.com/hackrf/

sudo apt install hackrf
  • Section: universe/libs
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Hackrf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hackrf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

hackrf-doc 2023.01.1-9build1

Software defined radio peripheral - documentation

http://greatscottgadgets.com/hackrf/

sudo apt install hackrf-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: hackrf
  • 6 依赖
  • normalized package name match
  • 匹配方式:Hackrf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hackrf-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhackrf-dev 2023.01.1-9build1

Software defined radio peripheral - development

http://greatscottgadgets.com/hackrf/

sudo apt install libhackrf-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: hackrf
  • 1 依赖
  • normalized package name match
  • 匹配方式:Hackrf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhackrf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhackrf0 2023.01.1-9build1

Software defined radio peripheral - runtime library

http://greatscottgadgets.com/hackrf/

sudo apt install libhackrf0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: hackrf
  • 2 依赖
  • normalized package name match
  • 匹配方式:Hackrf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhackrf0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

hackrf 2026.01.3-r1

Driver for HackRF, allowing general purpose software defined radio

https://github.com/greatscottgadgets/hackrf

sudo apk add hackrf
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: hackrf
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hackrf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hackrf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hackrf-dev 2026.01.3-r1

Driver for HackRF, allowing general purpose software defined radio (development files)

https://github.com/greatscottgadgets/hackrf

sudo apk add hackrf-dev
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: hackrf
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hackrf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hackrf-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hackrf-firmware 2026.01.3-r1

Driver for HackRF, allowing general purpose software defined radio (firmware)

https://github.com/greatscottgadgets/hackrf

sudo apk add hackrf-firmware
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: hackrf
  • normalized package name match
  • 匹配方式:Hackrf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hackrf-firmware from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hackrf-libs 2026.01.3-r1

Driver for HackRF, allowing general purpose software defined radio (libraries)

https://github.com/greatscottgadgets/hackrf

sudo apk add hackrf-libs
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: hackrf
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hackrf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hackrf-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hackrf-static 2026.01.3-r1

Driver for HackRF, allowing general purpose software defined radio (static library)

https://github.com/greatscottgadgets/hackrf

sudo apk add hackrf-static
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: hackrf
  • 1 依赖
  • normalized package name match
  • 匹配方式:Hackrf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hackrf-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hackrf-udev 2026.01.3-r1

Driver for HackRF, allowing general purpose software defined radio (udev rules)

https://github.com/greatscottgadgets/hackrf

sudo apk add hackrf-udev
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: hackrf
  • normalized package name match
  • 匹配方式:Hackrf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hackrf-udev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment