Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 attr

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install attr

local Homebrew formula metadata

Linux

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

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

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

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

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

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

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

nixpkgs package indexes · attr · 来源: raw.githubusercontent.com

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

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

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

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

概览

软件包摘要

Manipulate filesystem extended attributes

命令和别名

  • attr
  • getfattr
  • setfattr

历史

项目历史与用法

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

项目历史

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.

采用历史

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.

使用方式

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.

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

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.

时间线

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

安全态势

风险级别:绿色

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
attrcli全局可执行文件
getfattrcli全局可执行文件
setfattrcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://savannah.nongnu.org/projects/attr

安装元数据

软件包元数据

软件包键brew:attr
版本2.6.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/attr
主页https://savannah.nongnu.org/projects/attr
仓库https://git.savannah.nongnu.org/cgit/attr.git
上游文档https://git.savannah.nongnu.org/cgit/attr.git/tree/doc/attr.1
许可证GPL-2.0-or-later
源码归档https://download.savannah.nongnu.org/releases/attr/attr-2.6.0.tar.gz
最后更新2026-06-29T18:50:46Z
Pulseupdated
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameattr
Version Scheme0
Revision0
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

attr 1:2.5.2-3

utilities for manipulating filesystem extended attributes

https://savannah.nongnu.org/projects/attr/

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

libattr1 1:2.5.2-3

extended attribute handling - shared library

https://savannah.nongnu.org/projects/attr/

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

libattr1-dev 1:2.5.2-3

extended attributes handling - static libraries and headers

https://savannah.nongnu.org/projects/attr/

sudo apt install libattr1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: attr
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Attr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libattr1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

attr

nix profile install nixpkgs#attr
  • normalized package name match
  • 匹配方式:Attr
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: attr from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

attr 1:2.5.2-1build1

utilities for manipulating filesystem extended attributes

https://savannah.nongnu.org/projects/attr/

sudo apt install attr
  • Section: utils
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Attr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: attr from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libattr1 1:2.5.2-1build1

extended attribute handling - shared library

https://savannah.nongnu.org/projects/attr/

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

libattr1-dev 1:2.5.2-1build1

extended attributes handling - static libraries and headers

https://savannah.nongnu.org/projects/attr/

sudo apt install libattr1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: attr
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Attr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libattr1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

attr 2.5.2-r2

utilities for managing filesystem extended attributes

https://savannah.nongnu.org/projects/attr

sudo apk add attr
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: attr
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Attr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: attr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

attr-dev 2.5.2-r2

utilities for managing filesystem extended attributes (development files)

https://savannah.nongnu.org/projects/attr

sudo apk add attr-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: attr
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Attr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: attr-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

attr-doc 2.5.2-r2

utilities for managing filesystem extended attributes (documentation)

https://savannah.nongnu.org/projects/attr

sudo apk add attr-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: attr
  • normalized package name match
  • 匹配方式:Attr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: attr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

attr-static 2.5.2-r2

utilities for managing filesystem extended attributes (static library)

https://savannah.nongnu.org/projects/attr

sudo apk add attr-static
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: attr
  • normalized package name match
  • 匹配方式:Attr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: attr-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libattr 2.5.2-r2

utilities for managing filesystem extended attributes (libraries)

https://savannah.nongnu.org/projects/attr

sudo apk add libattr
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: attr
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Attr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libattr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

attr 2.5.2-9.fc45

Utilities for managing filesystem extended attributes

https://savannah.nongnu.org/projects/attr

sudo dnf install attr
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: attr
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Attr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: attr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libattr 2.5.2-9.fc45

Dynamic library for extended attribute support

https://savannah.nongnu.org/projects/attr

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

libattr-devel 2.5.2-9.fc45

Files needed for building programs with libattr

https://savannah.nongnu.org/projects/attr

sudo dnf install libattr-devel
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: attr
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Attr
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
pacman95%

attr 2.5.2-2

Extended attribute support library for ACL support

https://savannah.nongnu.org/projects/attr

sudo pacman -S attr
  • License: LGPL-2.1-or-later AND GPL-2.0-or-later
  • Architecture: x86_64
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Attr
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: attr from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

来源线索

由仓库数据生成

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