# Install attr with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Manipulate filesystem extended attributes. Version 2.6.0 via Homebrew; verified 2026-06-29.

## Install

```sh
sudo av install brew:attr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install attr
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add attr
```

  Evidence: Alpine Linux edge package indexes: attr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install attr
```

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

- dnf (92%):

```sh
sudo dnf install attr
```

  Evidence: Fedora Rawhide package metadata: attr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#attr
```

  Evidence: nixpkgs package indexes: attr from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S attr
```

  Evidence: Arch Linux sync databases: attr from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install attr
```

  Evidence: openSUSE Tumbleweed package metadata: attr from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:attr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/attr>
- **Version:** 2.6.0
- **Source summary:** Manipulate filesystem extended attributes
- **Homepage:** <https://savannah.nongnu.org/projects/attr>
- **Repository:** <https://git.savannah.nongnu.org/cgit/attr.git>
- **Upstream docs:** <https://git.savannah.nongnu.org/cgit/attr.git/tree/doc/attr.1>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://download.savannah.nongnu.org/releases/attr/attr-2.6.0.tar.gz>
- **Last updated:** 2026-06-29T18:50:46Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- attr (cli)
- getfattr (cli)
- setfattr (cli)
- attr (alias)
- getfattr (alias)
- setfattr (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.6.0
- Package-manager updated: 2026-06-29
- Local data: ok
- Upstream repository: https://savannah.nongnu.org/projects/attr
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

attr provides command-line tools for manipulating filesystem extended attributes.

### Project history

The official Savannah project and git repository maintain the attr userland utilities, including `attr`, `getfattr`, and `setfattr`, for working with extended attributes on supported filesystems.

### Adoption history

The supplied package metadata shows attr packaged across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, and openSUSE-style channels, reflecting its role as a small standard systems utility rather than an application framework.

### How it is used

Package users install attr for shell access to extended attribute inspection and mutation. The command set is commonly used by administrators, packaging scripts, and filesystem tests that need explicit xattr operations.

### Why package nerds care

attr matters to package nerds because it is the user-visible companion to filesystem metadata features that otherwise hide behind kernel and libc interfaces. Its tiny CLI surface makes it a common dependency in system images and test environments.

### Timeline

- 2.4.x: Official git refs include late 2.4 series release tags.
- 2.5.x: Official git refs include 2.5 series release tags.
- 2.6.0: Official git refs include a v2.6.0 release tag.

### Related projects

- Filesystem extended attributes are exposed by Linux filesystems and consumed by tools such as backup, security-labeling, and packaging utilities.
- The Linux ACL tooling is a nearby low-level filesystem metadata package family.

### Sources

- <https://git.savannah.nongnu.org/cgit/attr.git>
- <https://savannah.nongnu.org/projects/attr>
- official git tags from https://git.savannah.nongnu.org/git/attr.git
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - attr - 1:2.5.2-3: normalized package name match | Debian stable package indexes: attr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | utilities for manipulating filesystem extended attributes | https://savannah.nongnu.org/projects/attr/
- Debian apt - libattr1 - 1:2.5.2-3: normalized package name match | Debian stable package indexes: libattr1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | extended attribute handling - shared library | https://savannah.nongnu.org/projects/attr/
- Debian apt - libattr1-dev - 1:2.5.2-3: normalized package name match | Debian stable package indexes: libattr1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | extended attributes handling - static libraries and headers | https://savannah.nongnu.org/projects/attr/
- Nix - attr: normalized package name match | nixpkgs package indexes: attr from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - attr - 1:2.5.2-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: attr from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | utilities for manipulating filesystem extended attributes | https://savannah.nongnu.org/projects/attr/
- Ubuntu apt - libattr1 - 1:2.5.2-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libattr1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | extended attribute handling - shared library | https://savannah.nongnu.org/projects/attr/
- Ubuntu apt - libattr1-dev - 1:2.5.2-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libattr1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | extended attributes handling - static libraries and headers | https://savannah.nongnu.org/projects/attr/
- apk - attr - 2.5.2-r2: normalized package name match | Alpine Linux edge package indexes: attr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | utilities for managing filesystem extended attributes | https://savannah.nongnu.org/projects/attr
- apk - attr-dev - 2.5.2-r2: normalized package name match | Alpine Linux edge package indexes: attr-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | utilities for managing filesystem extended attributes (development files) | https://savannah.nongnu.org/projects/attr
- apk - attr-doc - 2.5.2-r2: normalized package name match | Alpine Linux edge package indexes: attr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | utilities for managing filesystem extended attributes (documentation) | https://savannah.nongnu.org/projects/attr
- apk - attr-static - 2.5.2-r2: normalized package name match | Alpine Linux edge package indexes: attr-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | utilities for managing filesystem extended attributes (static library) | https://savannah.nongnu.org/projects/attr
- apk - libattr - 2.5.2-r2: normalized package name match | Alpine Linux edge package indexes: libattr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | utilities for managing filesystem extended attributes (libraries) | https://savannah.nongnu.org/projects/attr
- dnf - attr - 2.5.2-9.fc45: normalized package name match | Fedora Rawhide package metadata: attr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Utilities for managing filesystem extended attributes | https://savannah.nongnu.org/projects/attr
- dnf - libattr - 2.5.2-9.fc45: normalized package name match | Fedora Rawhide package metadata: libattr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Dynamic library for extended attribute support | https://savannah.nongnu.org/projects/attr
- dnf - libattr-devel - 2.5.2-9.fc45: normalized package name match | Fedora Rawhide package metadata: libattr-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Files needed for building programs with libattr | https://savannah.nongnu.org/projects/attr
- pacman - attr - 2.5.2-2: normalized package name match | Arch Linux sync databases: attr from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | Extended attribute support library for ACL support | https://savannah.nongnu.org/projects/attr


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [acl](https://www.automicvault.com/pkg/brew/acl/) - Shares av.db curated category or tags: cli, filesystem, system.
- [afuse](https://www.automicvault.com/pkg/brew/afuse/) - Shares av.db curated category or tags: cli, filesystem, system.
- [avfs](https://www.automicvault.com/pkg/brew/avfs/) - Shares av.db curated category or tags: cli, filesystem, system.
- [bindfs](https://www.automicvault.com/pkg/brew/bindfs/) - Shares av.db curated category or tags: cli, filesystem, system.
- [convmv](https://www.automicvault.com/pkg/brew/convmv/) - Shares av.db curated category or tags: cli, filesystem, system.
- [cpmtools](https://www.automicvault.com/pkg/brew/cpmtools/) - Shares av.db curated category or tags: cli, filesystem, system.
- [dfc](https://www.automicvault.com/pkg/brew/dfc/) - Shares av.db curated category or tags: cli, filesystem, system.
- [duff](https://www.automicvault.com/pkg/brew/duff/) - Shares av.db curated category or tags: cli, filesystem, system.
- [atool](https://www.automicvault.com/pkg/brew/atool/) - Local package facts share a topical domain. Shared terms: cli, system.
- [man2html](https://www.automicvault.com/pkg/brew/man2html/) - Local package facts share a topical domain. Shared terms: cli, system.

## Combined YAML source

View the package source record on GitHub. [combined/attr.yml](https://github.com/automic-vault/db/blob/main/combined/attr.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
