Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install yasm

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install yasm

MacPorts ports tree · lang/yasm/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

Modular BSD reimplementation of NASM

命令和别名

  • vsyasm
  • yasm
  • ytasm

历史

项目历史与用法

Yasm is a modular assembler for x86 and AMD64 that began as a BSD-licensed rewrite of NASM. Its package-manager identity is unusually clear: it exists because build systems needed a portable NASM-like assembler that could emit the object formats, debug formats, and 64-bit code used by Unix, Windows, and macOS projects.

项目历史

The Yasm manual says the project started in 2001 as a rewrite of the Netwide Assembler under the BSD license. Rather than being a drop-in clone only, Yasm was designed around modules for assembler syntaxes, object formats, debug formats, and instruction sets, which let it support NASM syntax while also adding GNU as syntax, AMD64 support, and multiple platform object formats.

Yasm's public GitHub repository describes itself as the mainline development tree and was created there in 2011, after the project had already been established through its own site and release tarballs. The current manual still presents the core command as yasm, with vsyasm for Visual Studio integration and ytasm as part of the toolkit.

采用历史

Yasm became a common build dependency during the period when multimedia and codec projects leaned heavily on hand-written x86 assembly. FFmpeg's own development log records a later switch of the default x86 assembler from Yasm to NASM while preserving an option to use Yasm, which is a good marker of how central Yasm had been to that ecosystem.

Its adoption was strongest where projects wanted NASM-style source compatibility plus portable output: ELF for Unix, Mach-O for macOS, COFF/Win32/Win64 for Windows, and debug information for platform debuggers. That combination made it show up in package managers less as an end-user tool and more as the thing that quietly made optimized native packages build.

使用方式

Typical use is direct assembly of NASM- or GAS-style input into an object file, often from a larger configure or make build. Users select output formats with flags such as -f, target machines with -m, parser syntax with -p, and debug formats with -g.

In practical packaging, Yasm is important when a source tree contains x86 assembly tuned for codecs, emulators, runtimes, or low-level libraries. A build may not expose Yasm to the final user at all, but failure to find it can disable assembly optimizations or stop old release branches from building.

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

Yasm is package-nerd plumbing: a small command-line tool whose importance is measured by how many other packages used to need it. It is also a useful example of a compatibility tool that gained adoption by matching an existing language, NASM syntax, while being friendlier to license and portability requirements.

Its later displacement by newer NASM releases in some projects is part of the story. Package collections keep Yasm because old build systems still ask for it, while newer projects may prefer NASM; knowing which assembler a package wants can explain otherwise opaque native-build failures.

时间线

  • 2001: Yasm begins as a BSD-licensed rewrite of NASM.
  • 2006-2009: The Yasm user manual documents the modular assembler architecture and supported syntaxes, formats, and debug outputs.
  • 2011: The yasm/yasm GitHub repository is created as the mainline development tree.
  • 2017: FFmpeg changes its default x86 assembler preference from Yasm to NASM while keeping Yasm selectable.

Related projects

  • NASM is the assembler whose syntax and role Yasm originally reimplemented.
  • GNU as is another supported syntax target in Yasm's parser model.
  • FFmpeg is a prominent downstream multimedia project whose build history reflects Yasm's adoption and later partial replacement by NASM.

安全态势

风险级别:绿色

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 元数据适用于 13 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
vsyasmcli全局可执行文件
yasmcli全局可执行文件
ytasmcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://www.tortall.net/projects/yasm/manual/html/

安装元数据

软件包元数据

软件包键brew:yasm
版本1.3.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/yasm
主页https://www.tortall.net/projects/yasm/manual/html/
仓库https://github.com/yasm/yasm
上游文档https://www.tortall.net/projects/yasm/manual/html
许可证BSD-2-Clause AND BSD-3-Clause AND LicenseRef-Homebrew-public-domain AND (Artistic-1.0-Perl OR GPL-2.0-or-later OR LGPL-2.0-or-later)
源码归档https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
最后更新2026-06-27T18:33:31-04:00
Pulseupdated
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

yasm 1.3.0-7

modular assembler with multiple syntaxes support

https://github.com/yasm/yasm/

sudo apt install yasm
  • Section: devel
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Yasm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: yasm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

yasm

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

yasm 1.3.0-4

modular assembler with multiple syntaxes support

http://www.tortall.net/projects/yasm/

sudo apt install yasm
  • Section: universe/devel
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Yasm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: yasm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

yasm 1.3.0-r4

A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)

http://www.tortall.net/projects/yasm/

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

yasm-dev 1.3.0-r4

A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.) (development files)

http://www.tortall.net/projects/yasm/

sudo apk add yasm-dev
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: yasm
  • normalized package name match
  • 匹配方式:Yasm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yasm-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

yasm-doc 1.3.0-r4

A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.) (documentation)

http://www.tortall.net/projects/yasm/

sudo apk add yasm-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: yasm
  • normalized package name match
  • 匹配方式:Yasm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yasm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

yasm 1.3.0^20250625git121ab15-3.fc44

Modular Assembler

http://yasm.tortall.net/

sudo dnf install yasm
  • License: BSD-2-Clause AND BSD-3-Clause AND (GPL-1.0-or-later AND GPL-2.0-or-later OR Artistic-1.0-Perl OR LGPL-2.0-or-later)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: yasm
  • 2 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Yasm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yasm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

yasm-devel 1.3.0^20250625git121ab15-3.fc44

Header files and static libraries for the yasm Modular Assembler

http://yasm.tortall.net/

sudo dnf install yasm-devel
  • License: BSD-2-Clause AND BSD-3-Clause AND (GPL-1.0-or-later AND GPL-2.0-or-later OR Artistic-1.0-Perl OR LGPL-2.0-or-later)
  • Category: Unspecified
  • Architecture: i686
  • Source Package: yasm
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Yasm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yasm-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

yasm 1.3.0-9

A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)

https://github.com/yasm/yasm

sudo pacman -S yasm
  • License: BSD-2-Clause OR BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only AND Artistic-1.0-Perl
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Yasm
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: yasm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

yasm 1.3.0-9.5

A complete rewrite of the NASM assembler

https://github.com/yasm/yasm

sudo zypper install yasm
  • License: Artistic-1.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.0-or-later
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: yasm
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Yasm
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: yasm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

yasm-devel 1.3.0-9.5

YASM development package

https://github.com/yasm/yasm

sudo zypper install yasm-devel
  • License: Artistic-1.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.0-or-later
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: yasm
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Yasm
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: yasm-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

yasm

sudo port install yasm
  • normalized package name match
  • 匹配方式:Yasm
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/yasm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

yasm

choco install yasm
  • normalized package name match
  • 匹配方式:Yasm
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: yasm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','wiztree'
Scoop95%

main/yasm

scoop install main/yasm
  • normalized package name match
  • 匹配方式:Yasm
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/yasm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

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