macOS
brew install attrlocal Homebrew formula metadata
安装
brew install attrlocal Homebrew formula metadata
sudo apk add attrAlpine Linux edge package indexes · attr · 来源: dl-cdn.alpinelinux.org
sudo dnf install attrFedora Rawhide package metadata · attr · 来源: dl.fedoraproject.org
nix profile install nixpkgs#attrnixpkgs package indexes · attr · 来源: raw.githubusercontent.com
sudo pacman -S attrArch Linux sync databases · attr · 来源: geo.mirror.pkgbuild.com
sudo zypper install attropenSUSE Tumbleweed package metadata · attr · 来源: download.opensuse.org
概览
Manipulate filesystem extended attributes
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
attr | cli | 全局可执行文件 | |
getfattr | cli | 全局可执行文件 | |
setfattr | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | attr |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
attr 1:2.5.2-3
utilities for manipulating filesystem extended attributes
https://savannah.nongnu.org/projects/attr/
sudo apt install attrlibattr1 1:2.5.2-3
extended attribute handling - shared library
https://savannah.nongnu.org/projects/attr/
sudo apt install libattr1libattr1-dev 1:2.5.2-3
extended attributes handling - static libraries and headers
https://savannah.nongnu.org/projects/attr/
sudo apt install libattr1-devattr
nix profile install nixpkgs#attrattr 1:2.5.2-1build1
utilities for manipulating filesystem extended attributes
https://savannah.nongnu.org/projects/attr/
sudo apt install attrlibattr1 1:2.5.2-1build1
extended attribute handling - shared library
https://savannah.nongnu.org/projects/attr/
sudo apt install libattr1libattr1-dev 1:2.5.2-1build1
extended attributes handling - static libraries and headers
https://savannah.nongnu.org/projects/attr/
sudo apt install libattr1-devattr 2.5.2-r2
utilities for managing filesystem extended attributes
https://savannah.nongnu.org/projects/attr
sudo apk add attrattr-dev 2.5.2-r2
utilities for managing filesystem extended attributes (development files)
https://savannah.nongnu.org/projects/attr
sudo apk add attr-devattr-doc 2.5.2-r2
utilities for managing filesystem extended attributes (documentation)
https://savannah.nongnu.org/projects/attr
sudo apk add attr-docattr-static 2.5.2-r2
utilities for managing filesystem extended attributes (static library)
https://savannah.nongnu.org/projects/attr
sudo apk add attr-staticlibattr 2.5.2-r2
utilities for managing filesystem extended attributes (libraries)
https://savannah.nongnu.org/projects/attr
sudo apk add libattrattr 2.5.2-9.fc45
Utilities for managing filesystem extended attributes
https://savannah.nongnu.org/projects/attr
sudo dnf install attrlibattr 2.5.2-9.fc45
Dynamic library for extended attribute support
https://savannah.nongnu.org/projects/attr
sudo dnf install libattrlibattr-devel 2.5.2-9.fc45
Files needed for building programs with libattr
https://savannah.nongnu.org/projects/attr
sudo dnf install libattr-develattr 2.5.2-2
Extended attribute support library for ACL support
https://savannah.nongnu.org/projects/attr
sudo pacman -S attr来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.