Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libnfs

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libnfs

MacPorts ports tree · devel/libnfs/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

nixpkgs package indexes · pkgs/by-name/li/libnfs/package.nix · 来源: api.github.com

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

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

Debian apt已验证 · 92%
sudo apt install libnfs-dev

Debian stable package indexes · libnfs-dev · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libnfs-devel

openSUSE Tumbleweed package metadata · libnfs-devel · 来源: download.opensuse.org

概览

软件包摘要

C client library for NFS

命令和别名

  • nfs-cat
  • nfs-cp
  • nfs-ls
  • nfs-stat

历史

项目历史与用法

libnfs is a C client library for accessing NFS shares over a network. It packages NFS and related RPC protocol handling into reusable APIs instead of requiring callers to mount a filesystem through the operating system.

项目历史

The sahlberg/libnfs repository presents the library around three APIs: a raw asynchronous RPC interface, an asynchronous high-level NFS interface, and a synchronous high-level interface. The README also documents a version 2 API break with changed async task functions and read/write signatures.

The project broadened from NFSv3-oriented client access into NFSv4, server-side RPC examples, Windows and macOS build fixes, and later zero-copy read/write support for NFS v3/v4. Its changelog is organized by version transitions rather than narrative release notes.

采用历史

libnfs is useful to media applications, backup tools, embedded systems, emulators, test programs, and cross-platform software that needs NFS URL access without a kernel mount. The README documents platform coverage for Linux, Cygwin, macOS, iOS, FreeBSD, Solaris, Windows, Android, AROS, PlayStation 2, and PlayStation 3.

使用方式

Applications can use nfs:// URLs, choose sync or async APIs, select NFS versions through URL arguments or API calls, and tune behavior such as timeouts, retries, mount traversal, directory caching, TLS transport security, and UID/GID handling. The package also provides small tools such as nfs-cat, nfs-cp, nfs-ls, and nfs-stat.

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

libnfs is package-nerd interesting because it turns a traditionally kernel-mounted network filesystem into a linkable userspace protocol library. That makes it attractive in sandboxed, portable, or media-heavy software, but it also brings protocol-version, credential, TLS, and platform-build details into ordinary dependency graphs.

时间线

  • 1.11.0 era: The changelog records support for RPC timeouts, low-level NFSv4 work, and building RPC servers.
  • 2.0.0 era: The changelog records NFSv4 support, lockf and fcntl locking support for NFSv4, CMake support, URL arguments for NFS version selection, and a testsuite.
  • 4.0.0 era: The changelog records multithread support for Linux and Windows and fixes for NFSv4 chmod, chown, and utimes behavior.
  • 5.0.2 era: The changelog records zero-copy write/read work, NFS 4.1 structure additions, and notes that new development had shifted to a libnfs-next-gen branch.

Related projects

  • Related protocol pieces include ONC RPC, XDR, NFSv3, NFSv4, portmapper, mount, NLM, NSM, and rquota support.
  • The repository includes examples for raw RPC access, asynchronous NFS access, synchronous NFS access, RPC servers, and an LD_PRELOAD experiment for NFS-aware command-line utilities.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nfs-catcli全局可执行文件
nfs-cpcli全局可执行文件
nfs-lscli全局可执行文件
nfs-statcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本6.0.2
管理器更新时间
本地数据OK
上游当前
检测到的最新版本libnfs-6.0.2

https://github.com/sahlberg/libnfs

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:libnfs
版本6.0.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libnfs
主页https://github.com/sahlberg/libnfs
仓库https://github.com/sahlberg/libnfs
上游文档https://github.com/sahlberg/libnfs#readme
许可证LGPL-2.1-or-later
源码归档https://github.com/sahlberg/libnfs/archive/refs/tags/libnfs-6.0.2.tar.gz
构建依赖cmake, docbook, docbook-xsl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libnfs-dev 5.0.2-1+b2

NFS client library (development files)

https://github.com/sahlberg/libnfs

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

libnfs-utils 5.0.2-1+b2

NFS client library (binaries)

https://github.com/sahlberg/libnfs

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

libnfs14 5.0.2-1+b2

NFS client library (shared library)

https://github.com/sahlberg/libnfs

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

libnfs

nix profile install nixpkgs#libnfs
  • normalized package name match
  • 匹配方式:Libnfs
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libnfs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libnfs-dev 5.0.2-1build1

NFS client library (development files)

https://github.com/sahlberg/libnfs

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

libnfs-utils 5.0.2-1build1

NFS client library (binaries)

https://github.com/sahlberg/libnfs

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

libnfs14 5.0.2-1build1

NFS client library (shared library)

https://github.com/sahlberg/libnfs

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

libnfs 5.0.3-r0

Client library for accessing NFS shares

https://github.com/sahlberg/libnfs

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

libnfs-dev 5.0.3-r0

Client library for accessing NFS shares (development files)

https://github.com/sahlberg/libnfs

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

libnfs-doc 5.0.3-r0

Client library for accessing NFS shares (documentation)

https://github.com/sahlberg/libnfs

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

libnfs-tools 5.0.3-r0

Client library for accessing NFS shares (tools)

https://github.com/sahlberg/libnfs

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

libnfs 6.0.2-7.fc44

Client library for accessing NFS shares over a network

https://github.com/sahlberg/libnfs

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

libnfs-devel 6.0.2-7.fc44

Development files for libnfs

https://github.com/sahlberg/libnfs

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

libnfs-utils 6.0.2-7.fc44

Utilities for accessing NFS servers

https://github.com/sahlberg/libnfs

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

libnfs 6.0.2-5

client library for accessing NFS shares

https://github.com/sahlberg/libnfs

sudo pacman -S libnfs
  • License: GPL
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfs
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libnfs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libnfs-devel 5.0.3-3.2

Development files for libnfs

https://github.com/sahlberg/libnfs

sudo zypper install libnfs-devel
  • License: BSD-2-Clause AND LGPL-2.1-or-later AND GPL-3.0-or-later
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: libnfs
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libnfs
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libnfs-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

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