pkg.soopen package index

brew / rank 2436

Install libnfs with Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper

C client library for NFS. Version 8.0.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install libnfs-dev.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libnfs

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libnfs

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

Linux

Alpine Linux apkverified · 92%
sudo apk add libnfs

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

Fedora dnfverified · 92%
sudo dnf install libnfs

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

Nixverified · 92%
nix profile install nixpkgs#libnfs

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

Arch Linux pacmanverified · 92%
sudo pacman -S libnfs

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

Debian aptverified · 92%
sudo apt install libnfs-dev

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

openSUSE zypperverified · 92%
sudo zypper install libnfs-devel

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

overview

Package summary

C client library for NFS

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Build metadata lists 3 build dependencies.

Recommended review

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
$LIBNFS_TLS_CLIENT_CERT_PEM$LIBNFS_TLS_CLIENT_KEY_PEM

executables

Installed executables

CommandKindExposureNote
nfs-catcliglobal executable
nfs-cpcliglobal executable
nfs-lscliglobal executable
nfs-statcliglobal executable

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-11-04
manager version8.0.0
manager updated
local dataok
upstreamcurrent
latest detectedlibnfs-8.0.0

https://github.com/sahlberg/libnfs

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:libnfs
Version8.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libnfs
Homepagehttps://github.com/sahlberg/libnfs
Repositoryhttps://github.com/sahlberg/libnfs
LicenseLGPL-2.1-or-later
Source archivehttps://github.com/sahlberg/libnfs/archive/refs/tags/libnfs-8.0.0.tar.gz
Build dependenciescmake, docbook, docbook-xsl
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

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%

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 7.0.0-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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 7.0.0-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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 7.0.0-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
  • Matched by: 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 7.0.0-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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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-9.fc45

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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

libnfs-devel 6.0.2-9.fc45

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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

libnfs-utils 6.0.2-9.fc45

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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-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 dependencies
  • normalized package name match
  • Matched by: 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 6.0.2-1.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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libnfs
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libnfs-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst

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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation