# yasm mit Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für yasm in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:yasm
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install yasm
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yasm
```

  Evidenz: MacPorts ports tree: lang/yasm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add yasm
```

  Evidenz: Alpine Linux edge package indexes: yasm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install yasm
```

  Evidenz: Debian stable package indexes: yasm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install yasm
```

  Evidenz: Fedora Rawhide package metadata: yasm 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#yasm
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/ya/yasm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S yasm
```

  Evidenz: Arch Linux sync databases: yasm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install yasm
```

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

### Windows

- Chocolatey (92%):

```sh
choco install yasm
```

  Evidenz: Chocolatey community package catalog: yasm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','wsl-ubuntu-2204'

- Scoop (92%):

```sh
scoop install main/yasm
```

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

## Paketfakten

- **Paketschlüssel:** brew:yasm
- **Paketmanager:** Homebrew
- **Version:** 1.3.0
- **Quellzusammenfassung:** Modular BSD reimplementation of NASM
- **Homepage:** <https://www.tortall.net/projects/yasm/manual/html/>
- **Repository:** <https://github.com/yasm/yasm>
- **Zuletzt aktualisiert:** 2026-06-27T18:33:31-04:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- vsyasm (Alias)
- yasm (Alias)
- ytasm (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.3.0
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://api.github.com/repos/yasm/yasm>
- <https://ffmpeg.org/pipermail/ffmpeg-cvslog/2017-June/108045.html>
- <https://github.com/yasm/yasm>
- <https://www.tortall.net/projects/yasm/manual/html/manual.html>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Debian apt - yasm - 1.3.0-7: normalized package name match | Debian stable package indexes: yasm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | modular assembler with multiple syntaxes support | https://github.com/yasm/yasm/
- Nix - yasm: normalized package name match | nixpkgs package indexes: pkgs/by-name/ya/yasm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - yasm - 1.3.0-4: normalized package name match | Ubuntu 24.04 LTS package indexes: yasm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | modular assembler with multiple syntaxes support | http://www.tortall.net/projects/yasm/
- apk - yasm - 1.3.0-r4: normalized package name match | Alpine Linux edge package indexes: yasm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.) | http://www.tortall.net/projects/yasm/
- apk - yasm-dev - 1.3.0-r4: normalized package name match | Alpine Linux edge package indexes: yasm-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.) (development files) | http://www.tortall.net/projects/yasm/
- apk - yasm-doc - 1.3.0-r4: normalized package name match | Alpine Linux edge package indexes: yasm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.) (documentation) | http://www.tortall.net/projects/yasm/
- dnf - yasm - 1.3.0^20250625git121ab15-5.fc45: normalized package name match | Fedora Rawhide package metadata: yasm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Modular Assembler | http://yasm.tortall.net/
- dnf - yasm-devel - 1.3.0^20250625git121ab15-5.fc45: normalized package name match | Fedora Rawhide package metadata: yasm-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Header files and static libraries for the yasm Modular Assembler | http://yasm.tortall.net/
- pacman - yasm - 1.3.0-9: normalized package name match | Arch Linux sync databases: yasm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.) | https://github.com/yasm/yasm
- zypper - yasm - 1.3.0-9.7: normalized package name match | openSUSE Tumbleweed package metadata: yasm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A complete rewrite of the NASM assembler | https://github.com/yasm/yasm
- zypper - yasm-devel - 1.3.0-9.7: normalized package name match | openSUSE Tumbleweed package metadata: yasm-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | YASM development package | https://github.com/yasm/yasm
- MacPorts - yasm: normalized package name match | MacPorts ports tree: lang/yasm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - yasm: normalized package name match | Chocolatey community package catalog: yasm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','wsl-ubuntu-2204'
- Scoop - main/yasm: normalized package name match | Scoop official bucket manifest trees: bucket/yasm.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/yasm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/yasm.yml)


## Quellen

- 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
