# 使用 Homebrew, apt, dnf, MacPorts, Nix, zypper, scoop 安装 srecord

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

## 安装

```sh
sudo av install brew:srecord
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install srecord
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install srecord
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install srecord
```

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

- dnf (92%):

```sh
sudo dnf install srecord
```

  证据: Fedora Rawhide package metadata: srecord 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#srecord
```

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

- zypper (92%):

```sh
sudo zypper install srecord
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/srecord
```

  证据: Scoop official bucket manifest trees: bucket/srecord.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:srecord
- **软件包管理器:** Homebrew
- **版本:** 1.65.0
- **来源摘要:** Tools for manipulating EPROM load files
- **主页:** <https://srecord.sourceforge.net/>
- **最后更新:** 2026-07-13T17:31:47+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- srec_cat (别名)
- srec_cmp (别名)
- srec_info (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.65.0
## 项目历史与用法

SRecord is a long-running command-line toolkit for manipulating EPROM load files and firmware image formats. It is packaged because embedded developers still need reliable format conversion, comparison, inspection, checksumming, and filtering for Intel HEX, Motorola S-record, binary, and many other memory-image formats.

### 项目历史

The official SRecord site says the package was written by Peter Miller and is now maintained by Scott Finneran, with the website kept close to Miller's original in memoriam. Miller's own project note explains that he wrote SRecord because existing EPROM-load-file tools were few and did not cover enough of the manipulations he needed.

SRecord is written in C++ and organized around flexible file formats and input filters. The official site highlights `srec_cat`, `srec_cmp`, and `srec_info` as the main user-facing tools, and the reference manual documents a large set of supported formats and filters.

### 采用历史

The package metadata in this batch shows SRecord carried by Homebrew, Debian, Fedora/DNF, MacPorts, Nix, Scoop, Ubuntu, and openSUSE/Zypper. That broad distribution is typical for low-level embedded utilities: the audience is specialized, but the tool is valuable wherever firmware images are built, transformed, or compared.

### 使用方式

Common usage is command-line conversion and normalization of firmware load files. `srec_cat` joins, crops, fills, checksums, and converts records; `srec_cmp` compares load files in a format-aware way; and `srec_info` reports address ranges and metadata.

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

SRecord matters to package nerds because it is the sort of compact, old-school Unix utility that quietly anchors embedded build systems. Packaging it saves projects from vendoring ad hoc HEX/S-record converters, and its many format backends make it more robust than one-off scripts.

### 时间线

- 2005: Public release traffic for SRecord 1.21 documented ongoing feature and bug-fix releases.
- 2007: SRecord 1.36 changed licensing to GPLv3 in release notes mirrored from the project announcement stream.
- 2022: SRecord 1.65 released, with Scott Finneran maintaining the project and preserving Peter Miller's original site style.

### Related projects

- SRecord works with firmware and EPROM load-file formats such as Motorola S-record, Intel HEX, Tektronix HEX, binary images, and vendor-specific memory-initialization files.

### 来源

- <https://sourceforge.net/projects/srecord/files/srecord/>
- <https://srecord.sourceforge.net/>
- <https://srecord.sourceforge.net/man/index.html>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Debian apt - libsrecord-dev - 1.64-4.1+b1: normalized package name match | Debian stable package indexes: libsrecord-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for manipulating EPROM load files (development) | http://srecord.sourceforge.net
- Debian apt - libsrecord0t64 - 1.64-4.1+b1: normalized package name match | Debian stable package indexes: libsrecord0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for manipulating EPROM load files (runtime) | http://srecord.sourceforge.net
- Debian apt - srecord - 1.64-4.1+b1: normalized package name match | Debian stable package indexes: srecord from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | collection of powerful tools for manipulating EPROM load files | http://srecord.sourceforge.net
- Nix - srecord: normalized package name match | nixpkgs package indexes: pkgs/by-name/sr/srecord/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsrecord-dev - 1.64-4.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsrecord-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for manipulating EPROM load files (development) | http://srecord.sourceforge.net
- Ubuntu apt - libsrecord0t64 - 1.64-4.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsrecord0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for manipulating EPROM load files (runtime) | http://srecord.sourceforge.net
- Ubuntu apt - srecord - 1.64-4.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: srecord from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | collection of powerful tools for manipulating EPROM load files | http://srecord.sourceforge.net
- dnf - srecord - 1.65.0-8.fc45: normalized package name match | Fedora Rawhide package metadata: srecord from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Manipulate EPROM load files | http://srecord.sourceforge.net/
- dnf - srecord-devel - 1.65.0-8.fc45: normalized package name match | Fedora Rawhide package metadata: srecord-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development headers and libraries for srecord | http://srecord.sourceforge.net/
- zypper - libsrecord0 - 1.65.0-2.6: normalized package name match | openSUSE Tumbleweed package metadata: libsrecord0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Srecord libraries | https://srecord.sourceforge.net/
- zypper - srecord - 1.65.0-2.6: normalized package name match | openSUSE Tumbleweed package metadata: srecord from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Hex/bin format conversion package | https://srecord.sourceforge.net/
- zypper - srecord-devel - 1.65.0-2.6: normalized package name match | openSUSE Tumbleweed package metadata: srecord-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Srecord development files | https://srecord.sourceforge.net/
- zypper - srecord-doc - 1.65.0-2.6: normalized package name match | openSUSE Tumbleweed package metadata: srecord-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Srecord PDF documentation | https://srecord.sourceforge.net/
- MacPorts - srecord: normalized package name match | MacPorts ports tree: devel/srecord/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/srecord: normalized package name match | Scoop official bucket manifest trees: bucket/srecord.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- 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
