Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install stlink

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install stlink

MacPorts ports tree · cross/stlink/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

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

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

Debian apt已验证 · 92%
sudo apt install libstlink-dev

Debian stable package indexes · libstlink-dev · 来源: deb.debian.org

Windows

Scoop已验证 · 92%
scoop install main/stlink

Scoop official bucket manifest trees · bucket/stlink.json · 来源: api.github.com

概览

软件包摘要

STM32 discovery line Linux programmer

命令和别名

  • st-flash
  • st-info
  • st-trace
  • st-util

历史

项目历史与用法

stlink is an open source command-line toolset for programming and debugging STM32 microcontrollers through ST-LINK adapters. It is important in package-manager culture because it gives Unix-like systems a readily installable path to flash and debug common embedded boards.

项目历史

The official README describes stlink as an open source version of the STMicroelectronics STLINK tools and an open source toolset to program and debug STM32 devices and boards. The GitHub repository was created in 2011 and continues to track support for multiple ST-LINK hardware generations.

采用历史

The project documents package-repository installation for Linux and Unix systems and lists Windows binaries on GitHub releases. The input package data shows distribution across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, and openSUSE-related package managers.

使用方式

The toolset includes st-info for programmer and chip information, st-flash for flash manipulation, st-trace for execution logging, st-util as a GDB server, a communication library, and an optional GUI. It supports STLINK/V1, V2, V2-1, and V3 families, including clones.

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

For package maintainers and embedded developers, stlink is a hardware-adjacent package where udev rules, libusb compatibility, OS support, and release packaging matter. It turns a common microcontroller workflow into standard package-manager install plus shell commands.

时间线

  • 2011: The stlink-org/stlink GitHub repository was created.
  • 2019: The README marks STLINK/V1 obsolete as of 2019-11-21 while continuing support in the toolset.
  • 2020: Release v1.6.1 restored standalone Windows binaries according to the README.
  • 2024: Release v1.8.0 dropped macOS support according to the README and release notes.

Related projects

  • STMicroelectronics STM32 boards and ST-LINK adapters are the hardware target.
  • GDB connects through st-util for debugging.
  • Cortex-Debug is named by the README as a Visual Studio Code/VSCodium integration for st-util.

安全态势

风险级别:绿色

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 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
st-flashcli全局可执行文件
st-infocli全局可执行文件
st-tracecli全局可执行文件
st-utilcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-26
管理器版本1.8.0
管理器更新时间2026-07-13
本地数据OK
上游当前
检测到的最新版本v1.8.0

https://github.com/stlink-org/stlink

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:stlink
版本1.8.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/stlink
主页https://github.com/stlink-org/stlink
仓库https://github.com/stlink-org/stlink
上游文档https://github.com/stlink-org/stlink#readme
许可证BSD-3-Clause
源码归档https://github.com/stlink-org/stlink/archive/refs/tags/v1.8.0.tar.gz
最后更新2026-07-13T17:31:48+09:00
Pulseupdated
依赖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 Namestlink
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%

libstlink-dev 1.8.0-1.1

OpenSource ST-Link tools replacement.

https://github.com/stlink-org/stlink

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

libstlink1 1.8.0-1.1

OpenSource ST-Link tools replacement.

https://github.com/stlink-org/stlink

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

stlink-gui 1.8.0-1.1

OpenSource ST-Link tools replacement.

https://github.com/stlink-org/stlink

sudo apt install stlink-gui
  • Section: electronics
  • Architecture: amd64
  • Source Package: stlink
  • 5 依赖
  • normalized package name match
  • 匹配方式:Stlink
Debian stable package indexes · deb.debian.org · Debian stable package indexes: stlink-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

stlink-tools 1.8.0-1.1

OpenSource ST-Link tools replacement.

https://github.com/stlink-org/stlink

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

stlink

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

libstlink-dev 1.8.0-1build2

OpenSource ST-Link tools replacement.

https://github.com/stlink-org/stlink

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

libstlink1 1.8.0-1build2

OpenSource ST-Link tools replacement.

https://github.com/stlink-org/stlink

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

stlink-gui 1.8.0-1build2

OpenSource ST-Link tools replacement.

https://github.com/stlink-org/stlink

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

stlink-tools 1.8.0-1build2

OpenSource ST-Link tools replacement.

https://github.com/stlink-org/stlink

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

stlink 1.8.0-r1

STM32 discovery line linux programmer

https://github.com/stlink-org/stlink

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

stlink-dev 1.8.0-r1

STM32 discovery line linux programmer (development files)

https://github.com/stlink-org/stlink

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

stlink-doc 1.8.0-r1

STM32 discovery line linux programmer (documentation)

https://github.com/stlink-org/stlink

sudo apk add stlink-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: stlink
  • normalized package name match
  • 匹配方式:Stlink
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: stlink-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

stlink-udev 1.8.0-r1

STM32 discovery line linux programmer (udev rules)

https://github.com/stlink-org/stlink

sudo apk add stlink-udev
  • License: MIT
  • Architecture: x86_64
  • Source Package: stlink
  • normalized package name match
  • 匹配方式:Stlink
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: stlink-udev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

stlink 1.8.0-6.fc45

STM32 discovery line Linux programmer

https://github.com/stlink-org/stlink

sudo dnf install stlink
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: stlink
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Stlink
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: stlink from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

stlink-devel 1.8.0-6.fc45

Include files and mandatory libraries for development

https://github.com/stlink-org/stlink

sudo dnf install stlink-devel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: stlink
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Stlink
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: stlink-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

stlink-gui 1.8.0-6.fc45

GUI for STM32 discovery line linux programmer

https://github.com/stlink-org/stlink

sudo dnf install stlink-gui
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: stlink
  • 10 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Stlink
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: stlink-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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