macOS
brew install libnfslocal Homebrew formula metadata
sudo port install libnfsMacPorts ports tree · devel/libnfs/Portfile · source: api.github.com
brew / rank 2447
C client library for NFS. Version 6.0.2 via Homebrew; verified from local package data. Also installable with debian: sudo apt install libnfs-dev.
install
brew install libnfslocal Homebrew formula metadata
sudo port install libnfsMacPorts ports tree · devel/libnfs/Portfile · source: api.github.com
sudo apk add libnfsAlpine Linux edge package indexes · libnfs · source: dl-cdn.alpinelinux.org
sudo dnf install libnfsFedora Rawhide package metadata · libnfs · source: dl.fedoraproject.org
nix profile install nixpkgs#libnfsnixpkgs package indexes · pkgs/by-name/li/libnfs/package.nix · source: api.github.com
sudo pacman -S libnfsArch Linux sync databases · libnfs · source: geo.mirror.pkgbuild.com
sudo apt install libnfs-devDebian stable package indexes · libnfs-dev · source: deb.debian.org
sudo zypper install libnfs-developenSUSE Tumbleweed package metadata · libnfs-devel · source: download.opensuse.org
overview
C client library for NFS
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
nfs-cat | executable | indexed executable | Discovered from the local executable index. |
nfs-cp | executable | indexed executable | Discovered from the local executable index. |
nfs-ls | executable | indexed executable | Discovered from the local executable index. |
nfs-stat | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:libnfs |
|---|---|
| Version | 6.0.2 |
| Package manager | Homebrew |
| Homepage | https://github.com/sahlberg/libnfs |
| Repository | https://github.com/sahlberg/libnfs |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libnfs-dev 5.0.2-1+b2
NFS client library (development files)
https://github.com/sahlberg/libnfs
sudo apt install libnfs-devlibnfs-utils 5.0.2-1+b2
NFS client library (binaries)
https://github.com/sahlberg/libnfs
sudo apt install libnfs-utilslibnfs14 5.0.2-1+b2
NFS client library (shared library)
https://github.com/sahlberg/libnfs
sudo apt install libnfs14libnfs
nix profile install nixpkgs#libnfslibnfs-dev 5.0.2-1build1
NFS client library (development files)
https://github.com/sahlberg/libnfs
sudo apt install libnfs-devlibnfs-utils 5.0.2-1build1
NFS client library (binaries)
https://github.com/sahlberg/libnfs
sudo apt install libnfs-utilslibnfs14 5.0.2-1build1
NFS client library (shared library)
https://github.com/sahlberg/libnfs
sudo apt install libnfs14libnfs 5.0.3-r0
Client library for accessing NFS shares
https://github.com/sahlberg/libnfs
sudo apk add libnfslibnfs-dev 5.0.3-r0
Client library for accessing NFS shares (development files)
https://github.com/sahlberg/libnfs
sudo apk add libnfs-devlibnfs-doc 5.0.3-r0
Client library for accessing NFS shares (documentation)
https://github.com/sahlberg/libnfs
sudo apk add libnfs-doclibnfs-tools 5.0.3-r0
Client library for accessing NFS shares (tools)
https://github.com/sahlberg/libnfs
sudo apk add libnfs-toolslibnfs 6.0.2-8.fc45
Client library for accessing NFS shares over a network
https://github.com/sahlberg/libnfs
sudo dnf install libnfslibnfs-devel 6.0.2-8.fc45
Development files for libnfs
https://github.com/sahlberg/libnfs
sudo dnf install libnfs-devellibnfs-utils 6.0.2-8.fc45
Utilities for accessing NFS servers
https://github.com/sahlberg/libnfs
sudo dnf install libnfs-utilslibnfs 6.0.2-5
client library for accessing NFS shares
https://github.com/sahlberg/libnfs
sudo pacman -S libnfslibnfs-devel 6.0.2-1.2
Development files for libnfs
https://github.com/sahlberg/libnfs
sudo zypper install libnfs-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.