# 使用 Homebrew, Nix, pacman, apt, dnf, MacPorts 安装 soapysdr

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

## 安装

```sh
sudo av install brew:soapysdr
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install soapysdr
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install SoapySDR
```

  证据: MacPorts ports tree: science/SoapySDR/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#soapysdr
```

  证据: nixpkgs package indexes: pkgs/by-name/so/soapysdr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S soapysdr
```

  证据: Arch Linux sync databases: soapysdr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libsoapysdr-dev
```

  证据: Debian stable package indexes: libsoapysdr-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install SoapySDR
```

  证据: Fedora Rawhide package metadata: SoapySDR from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:soapysdr
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/soapysdr>
- **版本:** 0.8.1
- **来源摘要:** Vendor and platform neutral SDR support library
- **主页:** <https://github.com/pothosware/SoapySDR/wiki>
- **仓库:** <https://github.com/pothosware/SoapySDR>
- **上游文档:** <https://github.com/pothosware/SoapySDR/wiki>
- **许可证:** BSL-1.0
- **源码归档:** <https://github.com/pothosware/SoapySDR/archive/refs/tags/soapy-sdr-0.8.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- SoapySDRUtil (cli)
- SoapySDRUtil (别名)

## 依赖

- python@3.14

## 构建依赖

- cmake
- swig

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.1
- 本地数据: OK
- 上游仓库: https://github.com/pothosware/SoapySDR
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

SoapySDR is a vendor-neutral, platform-independent runtime and API for software-defined radio hardware. It gives applications, drivers, and package managers a shared abstraction so SDR tools do not need to hard-code every device vendor's native library.

### 项目历史

The SoapySDR changelog identifies January 31, 2015 as the first public release. The project quickly added module paths, streaming APIs, Python bindings, utility probing, logging, ABI-aware module installation, and C/Python/C++ API refinements through the 0.2 to 0.5 series.

The official wiki explains the core design: SoapySDR is a generalized API and runtime library for interfacing with SDR devices, with runtime-loadable modules for vendor hardware, bindings for environments such as GNU Radio and Pothos, and a command-line utility for device probing.

### 采用历史

The official wiki states that most off-the-shelf SDR hardware platforms are supported by SoapySDR and that many open source applications rely on it for hardware integration. The supplied package-manager facts show packaging across Homebrew, Debian, Ubuntu, Fedora, MacPorts, Nix, and Arch, matching its role as shared SDR infrastructure.

### 使用方式

Users encounter SoapySDR both as a library and through SoapySDRUtil, which the changelog and wiki describe for probing devices, listing modules, and exercising streaming/rate tests. Application developers use the client API, while hardware support is delivered through installable modules.

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

Package nerds care about SoapySDR because it is an ABI and plugin packaging problem as much as a library. Distributions need the core library, versioned module directories, optional language bindings, and separate hardware-driver modules to agree so applications can discover radios at runtime.

### 时间线

- 2015: First public release 0.1.0.
- 2015: 0.2.0 added SOAPY_SDR_PLUGIN_PATH and direct buffer streaming APIs.
- 2015: 0.4.0 added SoapySDRUtil --probe and more query APIs.
- 2016: 0.5.1 added ABI-specific modules directories.
- 2018: 0.7.0 added parallel device factory support and converter registry APIs.
- 2021: 0.8.0 modernized CMake config generation and added more API helpers.

### Related projects

- The official wiki links SoapySDR to Pothos, GNU Radio, GrOsmoSDR, SoapyUHD, SoapyRemote, and command-line SDR tools such as Rx Tools, showing its role as a hub in the open SDR stack.

### 来源

- <https://github.com/pothosware/SoapySDR#readme>
- <https://github.com/pothosware/SoapySDR/wiki>
- <https://raw.githubusercontent.com/pothosware/SoapySDR/master/Changelog.txt>
- source_facts.package-manager


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** soapysdr
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Debian apt - libsoapysdr-dev - 0.8.1-5+b2: normalized package name match | Debian stable package indexes: libsoapysdr-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SoapySDR library development files | https://github.com/pothosware/SoapySDR/wiki
- Debian apt - libsoapysdr-doc - 0.8.1-5: normalized package name match | Debian stable package indexes: libsoapysdr-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SoapySDR library development documentation | https://github.com/pothosware/SoapySDR/wiki
- Debian apt - libsoapysdr0.8 - 0.8.1-5+b2: normalized package name match | Debian stable package indexes: libsoapysdr0.8 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | software defined radio interface library | https://github.com/pothosware/SoapySDR/wiki
- Debian apt - python3-soapysdr - 0.8.1-5+b2: normalized package name match | Debian stable package indexes: python3-soapysdr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SoapySDR Python 3 bindings | https://github.com/pothosware/SoapySDR/wiki
- Debian apt - soapysdr-module-all - 0.8.1-5+b2: normalized package name match | Debian stable package indexes: soapysdr-module-all from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | All device support for default version of SoapySDR (metapackage) | https://github.com/pothosware/SoapySDR/wiki
- Debian apt - soapysdr-tools - 0.8.1-5+b2: normalized package name match | Debian stable package indexes: soapysdr-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | software defined radio interface library tools | https://github.com/pothosware/SoapySDR/wiki
- Debian apt - soapysdr0.8-module-all - 0.8.1-5+b2: normalized package name match | Debian stable package indexes: soapysdr0.8-module-all from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | All device support for SoapySDR (metapackage) | https://github.com/pothosware/SoapySDR/wiki
- Nix - soapysdr: normalized package name match | nixpkgs package indexes: pkgs/by-name/so/soapysdr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsoapysdr-dev - 0.8.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsoapysdr-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SoapySDR library development files | https://github.com/pothosware/SoapySDR/wiki
- Ubuntu apt - libsoapysdr-doc - 0.8.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsoapysdr-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SoapySDR library development documentation | https://github.com/pothosware/SoapySDR/wiki
- Ubuntu apt - libsoapysdr0.8 - 0.8.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsoapysdr0.8 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | software defined radio interface library | https://github.com/pothosware/SoapySDR/wiki
- Ubuntu apt - python3-soapysdr - 0.8.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-soapysdr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SoapySDR Python 3 bindings | https://github.com/pothosware/SoapySDR/wiki
- Ubuntu apt - soapysdr-module-all - 0.8.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: soapysdr-module-all from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | All device support for default version of SoapySDR (metapackage) | https://github.com/pothosware/SoapySDR/wiki
- Ubuntu apt - soapysdr-tools - 0.8.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: soapysdr-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | software defined radio interface library tools | https://github.com/pothosware/SoapySDR/wiki
- Ubuntu apt - soapysdr0.8-module-all - 0.8.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: soapysdr0.8-module-all from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | All device support for SoapySDR (metapackage) | https://github.com/pothosware/SoapySDR/wiki
- dnf - SoapySDR - 0.8.1-25.fc45: normalized package name match | Fedora Rawhide package metadata: SoapySDR from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A Vendor Neutral and Platform Independent SDR Support Library | https://github.com/pothosware/SoapySDR


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [swig](https://pkg.so/zh-hans/brew/swig/) - Build dependency declared by Homebrew.
- [gnuradio](https://pkg.so/zh-hans/brew/gnuradio/) - Popular package that depends on this formula.
- [limesuite](https://pkg.so/zh-hans/brew/limesuite/) - Popular package that depends on this formula.
- [soapyremote](https://pkg.so/zh-hans/brew/soapyremote/) - Popular package that depends on this formula.
- [airspy](https://pkg.so/zh-hans/brew/airspy/) - Shares pkgdb curated category or tags: cli, media, radio, sdr.
- [airspyhf](https://pkg.so/zh-hans/brew/airspyhf/) - Shares pkgdb curated category or tags: cli, media, radio, sdr.
- [openexr](https://pkg.so/zh-hans/brew/openexr/) - Shares pkgdb curated category or tags: cli, library, media.
- [imagemagick](https://pkg.so/zh-hans/brew/imagemagick/) - Shares pkgdb curated category or tags: cli, library, media.
- [graphite2](https://pkg.so/zh-hans/brew/graphite2/) - Shares pkgdb curated category or tags: cli, library, media.
- [libvmaf](https://pkg.so/zh-hans/brew/libvmaf/) - Shares pkgdb curated category or tags: cli, library, media.
- [poppler](https://pkg.so/zh-hans/brew/poppler/) - Shares pkgdb curated category or tags: cli, library, media.
- [libheif](https://pkg.so/zh-hans/brew/libheif/) - Shares pkgdb curated category or tags: cli, library, media.
- [lue-reader](https://pkg.so/zh-hans/brew/lue-reader/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, media, python, python-3-14, support.
- [animdl](https://pkg.so/zh-hans/brew/animdl/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, media, python, python-3-14.
- [bandcamp-dl](https://pkg.so/zh-hans/brew/bandcamp-dl/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, media, python, python-3-14.

## Combined YAML source

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


## 来源

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