# 使用 Homebrew, apt, Nix 安装 lm4tools

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

## 安装

```sh
sudo av install brew:lm4tools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lm4tools
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install lm4flash
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#lm4flash
```

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

## 软件包事实

- **软件包键:** brew:lm4tools
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lm4tools>
- **版本:** 0.1.3
- **来源摘要:** Tools for TI Stellaris Launchpad boards
- **主页:** <https://github.com/utzig/lm4tools>
- **仓库:** <https://github.com/utzig/lm4tools>
- **许可证:** GPL-2.0-or-later AND BSD-3-Clause
- **源码归档:** <https://github.com/utzig/lm4tools/archive/refs/tags/v0.1.3.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- lm4flash (cli)
- lmicdi (cli)
- lm4flash (别名)
- lmicdi (别名)

## 依赖

- libusb

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.1.3
- 本地数据: OK
- 上游仓库: https://github.com/utzig/lm4tools
- 检测到的最新版本: v0.1.3 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

lm4tools is a small command-line tool collection for multi-platform development on Texas Instruments Stellaris LaunchPad boards.

### 项目历史

The upstream README describes lm4tools as tools for TI Stellaris LaunchPad boards, a low-cost development board with an ARM Cortex-M4F processor. The package contains lm4flash for flashing firmware over the LaunchPad ICDI via libusb-1.0, and lmicdiusb, a TCP/USB bridge that lets GDB communicate with the Stellaris LaunchPad ICDI.

The GitHub release history is short: v0.1.2 was published in September 2013 as the first public release, and v0.1.3 followed in March 2018 with an install-directory fix.

### 采用历史

lm4tools is a niche embedded-development utility rather than a broad platform. Its adoption follows the Stellaris/Tiva-era LaunchPad hobbyist and embedded workflow: install an ARM Cortex-M cross compiler, build StellarisWare examples, and use lm4flash to load a binary onto the board.

The supplied package-manager data shows it packaged by Homebrew and also mapped to lm4flash in Debian, Ubuntu, and Nix-style package sets, which is typical for a small hardware-specific CLI whose main value is making flashing scriptable.

### 使用方式

The README's example workflow builds a StellarisWare project and flashes gcc/project0.bin with lm4flash. For non-root Linux flashing, upstream documents a udev rule for the Stellaris LaunchPad ICDI USB vendor and product IDs.

lmicdiusb is used when GDB needs to talk to the board's ICDI interface through a TCP/USB bridge. The README notes support for Linux, Mac OS X, and BSD for that tool, while lm4flash is described as working on Linux, Mac OS X, Windows, and BSD.

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

lm4tools is the kind of package that matters disproportionately when you own the matching board: it turns firmware flashing into a repeatable CLI step, which is exactly what package managers and build scripts are good at preserving.

Because upstream activity and releases are sparse, packagers mostly care that the tiny C utilities build cleanly, link libusb, install predictable binary names, and keep the udev-rule documentation discoverable.

### 时间线

- 2013-09-03: v0.1.2 is published as the first public release.
- 2018-03-13: v0.1.3 is published with an install-directory fix.
- 2018: Homebrew package data records lm4tools as a packaged CLI for TI Stellaris LaunchPad boards.

### Related projects

- Related tools and inputs named by upstream include lm4flash, lmicdiusb, libusb-1.0, GDB, arm-none-eabi toolchains, StellarisWare, and the TI Stellaris LaunchPad ICDI.

### 来源

- <https://api.github.com/repos/utzig/lm4tools/releases>
- <https://github.com/utzig/lm4tools#readme>
- <https://github.com/utzig/lm4tools/releases>
- source_facts.package-manager-url


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

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

- Debian apt - lm4flash - 3:0.1.3-1+b1: normalized package name match | Debian stable package indexes: lm4flash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line firmware flashing tool to communicate with the Stellaris Launchpad | https://github.com/utzig/lm4tools
- Debian apt - lmicdiusb - 3:0.1.3-1+b1: normalized package name match | Debian stable package indexes: lmicdiusb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Remote GDB socket over USB for Stellaris Launchpad ICDI | https://github.com/utzig/lm4tools
- Ubuntu apt - lm4flash - 3:0.1.3-1: normalized package name match | Ubuntu 24.04 LTS package indexes: lm4flash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line firmware flashing tool to communicate with the Stellaris Launchpad | https://github.com/utzig/lm4tools
- Ubuntu apt - lmicdiusb - 3:0.1.3-1: normalized package name match | Ubuntu 24.04 LTS package indexes: lmicdiusb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Remote GDB socket over USB for Stellaris Launchpad ICDI | https://github.com/utzig/lm4tools
- Nix - lm4flash: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/lm/lm4flash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [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.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [probe-rs-tools](https://pkg.so/zh-hans/brew/probe-rs-tools/) - Shares pkgdb curated category or tags: cli, developer-tools, embedded, flashing, microcontrollers.
- [elf2uf2-rs](https://pkg.so/zh-hans/brew/elf2uf2-rs/) - Shares pkgdb curated category or tags: cli, developer-tools, embedded, microcontrollers.
- [mspdebug](https://pkg.so/zh-hans/brew/mspdebug/) - Shares pkgdb curated category or tags: cli, developer-tools, embedded, microcontrollers.
- [arduino-cli](https://pkg.so/zh-hans/brew/arduino-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, embedded.
- [arm-none-eabi-gdb](https://pkg.so/zh-hans/brew/arm-none-eabi-gdb/) - Shares pkgdb curated category or tags: cli, developer-tools, embedded.
- [picotool](https://pkg.so/zh-hans/brew/picotool/) - Shares pkgdb curated category or tags: cli, developer-tools, embedded.
- [mpremote](https://pkg.so/zh-hans/brew/mpremote/) - Shares pkgdb curated category or tags: cli, developer-tools, embedded.
- [minipro](https://pkg.so/zh-hans/brew/minipro/) - Shares pkgdb curated category or tags: cli, developer-tools, embedded.
- [orbuculum](https://pkg.so/zh-hans/brew/orbuculum/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, embedded, libusb.

## Combined YAML source

View the package source record on GitHub. [combined/lm4tools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lm4tools.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
