pkg.soopen package index

brew / rank 1429

Install yara with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Malware identification and classification tool. Version 4.5.8 via Homebrew; verified 2026-07-28. Also installable with debian: sudo apt install libyara-dev.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install yara

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install yara

MacPorts ports tree · security/yara/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add yara

Alpine Linux edge package indexes · yara · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install yara

Debian stable package indexes · yara · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install yara

Fedora Rawhide package metadata · yara · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#yara

nixpkgs package indexes · pkgs/by-name/ya/yara/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S yara

Arch Linux sync databases · yara · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install yara

openSUSE Tumbleweed package metadata · yara · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install yara

Chocolatey community package catalog · yara · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/yara

Scoop official bucket manifest trees · bucket/yara.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id VirusTotal.YARA -e

Windows Package Manager source index · VirusTotal.YARA · source: cdn.winget.microsoft.com

overview

Package summary

Malware identification and classification tool

Commands and aliases

  • yara
  • yarac

history

Project history and usage

YARA is VirusTotal's rule-based pattern-matching tool for malware researchers and incident responders. It lets analysts describe malware families, file traits, or other detectable artifacts with strings, byte patterns, regular expressions, metadata, and boolean conditions, then scan files, directories, or process memory.

Project history

YARA's manual page dates the `yara` command to 2008-09-22 and names Victor M. Alvarez as author. The current VirusTotal GitHub repository was created on 2012-12-06, and the first GitHub release returned by the API is YARA v2.0.0 in August 2014.

The project became the pattern-matching 'Swiss knife' for malware researchers by keeping a compact rule language while adding modules, compiled rules, Python bindings, and multi-platform support. The README and official docs describe use from the command line and from Python scripts through yara-python.

In the mid-2020s, YARA's history shifted from active feature growth to maintenance. The README now points to the YARA-X stability announcement and marks the classic YARA project as maintenance mode, with new feature work moving to the Rust rewrite.

Adoption history

YARA's adoption is unusually broad for a command-line security tool. The upstream README maintains a long 'Who's using YARA' list that includes antivirus vendors, incident-response products, sandboxes, intelligence platforms, reverse-engineering tools, and VirusTotal itself.

Its practical appeal is portability of detection logic. A YARA rule can move from a researcher's laptop to a malware sandbox, a retrohunt service, an endpoint product, or a CI check for detection rules. That made it a common exchange format for malware-family knowledge, not just a local scanner.

How it is used

Users write one or more rule files, compile them with `yarac` when useful, and run `yara` against files, directories, or PIDs. Options support namespaces, external variables, module data, metadata printing, string-match output, fast scans, warnings control, and scanning process memory in chunks.

In security operations, YARA is used for malware triage, hunting known families and variants, validating rule collections, retroactive corpus searches, sandbox classification, and embedding detection logic into larger analysis systems through libyara or yara-python.

Why package nerds care

YARA is one of the canonical examples of a domain-specific language packaged as a Unix tool. The package matters because it ships not just an executable, but a rule language, compiler, C library, Python ecosystem, and compatibility target for thousands of shared security rules.

The YARA-to-YARA-X transition is also important packaging history: a widely deployed security utility entered maintenance mode while its official successor was distributed beside it, letting package managers carry both the stable incumbent and the future implementation.

Timeline

  • 2008-09-22: YARA manual page date identifies the command and Victor M. Alvarez as author.
  • 2012-12-06: VirusTotal/yara repository is created on GitHub.
  • 2014-08-26: YARA v2.0.0 appears as the earliest GitHub release returned by the releases API.
  • 2024-02-21: VirusTotal announces future feature work will focus on YARA-X while YARA continues maintenance.
  • 2025-06-04: YARA-X 1.0.0 announcement states original YARA enters maintenance mode.
  • 2025-10-30: YARA v4.5.5 is published as a maintenance release.

Related projects

  • YARA-X is the official Rust rewrite and future development focus.
  • yara-python exposes YARA scanning and compilation features to Python programs.
  • YARA-CI, awesome-yara, and rule repositories such as Elastic protections-artifacts are part of the wider YARA rule ecosystem.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
yaraexecutableindexed executableDiscovered from the local executable index.
yaracexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version4.5.8
manager updated2026-07-28
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:yara
Version4.5.8
Package managerHomebrew
Homepagehttps://virustotal.github.io/yara/
Repositoryhttps://github.com/VirusTotal/yara
Last updated2026-07-28T10:28:26Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libyara-dev 4.5.2-1

YARA development libraries and headers

https://virustotal.github.io/yara/

sudo apt install libyara-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: yara
  • 4 dependencies
  • normalized package name match
  • Matched by: Yara
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libyara-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libyara10 4.5.2-1

YARA shared library

https://virustotal.github.io/yara/

sudo apt install libyara10
  • Section: libs
  • Architecture: amd64
  • Source Package: yara
  • 4 dependencies
  • normalized package name match
  • Matched by: Yara
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libyara10 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

yara 4.5.2-1

Pattern matching swiss knife for malware researchers

https://virustotal.github.io/yara/

sudo apt install yara
  • Section: utils
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Yara
Debian stable package indexes · deb.debian.org · Debian stable package indexes: yara from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

yara-doc 4.5.2-1

HTML documentation for YARA

https://virustotal.github.io/yara/

sudo apt install yara-doc
  • Section: doc
  • Architecture: all
  • Source Package: yara
  • 1 dependencies
  • normalized package name match
  • Matched by: Yara
Debian stable package indexes · deb.debian.org · Debian stable package indexes: yara-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

yara

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

libyara-dev 4.5.0-1build2

YARA development libraries and headers

https://virustotal.github.io/yara/

sudo apt install libyara-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: yara
  • 4 dependencies
  • normalized package name match
  • Matched by: Yara
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libyara-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libyara10 4.5.0-1build2

YARA shared library

https://virustotal.github.io/yara/

sudo apt install libyara10
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: yara
  • 4 dependencies
  • normalized package name match
  • Matched by: Yara
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libyara10 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

yara 4.5.0-1build2

Pattern matching swiss knife for malware researchers

https://virustotal.github.io/yara/

sudo apt install yara
  • Section: universe/utils
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Yara
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: yara from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

yara-doc 4.5.0-1build2

HTML documentation for YARA

https://virustotal.github.io/yara/

sudo apt install yara-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: yara
  • 1 dependencies
  • normalized package name match
  • Matched by: Yara
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: yara-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

yara 4.5.8-r0

Pattern matching swiss knife for malware researchers

https://virustotal.github.io/yara/

sudo apk add yara
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: yara
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Yara
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yara from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

yara-dev 4.5.8-r0

Pattern matching swiss knife for malware researchers (development files)

https://virustotal.github.io/yara/

sudo apk add yara-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: yara
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Yara
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yara-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

yara-doc 4.5.8-r0

Pattern matching swiss knife for malware researchers (documentation)

https://virustotal.github.io/yara/

sudo apk add yara-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: yara
  • normalized package name match
  • Matched by: Yara
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yara-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

yara 4.5.7-6.fc45

Pattern matching Swiss knife for malware researchers

https://VirusTotal.github.io/yara/

sudo dnf install yara
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: yara
  • 7 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Yara
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yara from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

yara-devel 4.5.7-6.fc45

Development files for yara

https://VirusTotal.github.io/yara/

sudo dnf install yara-devel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: yara
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Yara
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yara-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

yara-doc 4.5.7-6.fc45

Documentation for yara

https://VirusTotal.github.io/yara/

sudo dnf install yara-doc
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: yara
  • 1 provides
  • normalized package name match
  • Matched by: Yara
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yara-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

yara 4.5.7-1

Tool aimed at helping malware researchers to identify and classify malware samples

https://github.com/VirusTotal/yara

sudo pacman -S yara
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Yara
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: yara from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation