macOS
brew install gnutlslocal Homebrew formula metadata
sudo port install gnutlsMacPorts ports tree · devel/gnutls/Portfile · source: api.github.com
brew
GNU Transport Layer Security (TLS) Library. Version 3.8.13 via Homebrew; verified 2026-07-06.
install
brew install gnutlslocal Homebrew formula metadata
sudo port install gnutlsMacPorts ports tree · devel/gnutls/Portfile · source: api.github.com
sudo apk add gnutlsAlpine Linux edge package indexes · gnutls · source: dl-cdn.alpinelinux.org
sudo dnf install gnutlsFedora Rawhide package metadata · gnutls · source: dl.fedoraproject.org
nix profile install nixpkgs#gnutlsnixpkgs package indexes · pkgs/by-name/gn/gnutls/package.nix · source: api.github.com
sudo pacman -S gnutlsArch Linux sync databases · gnutls · source: geo.mirror.pkgbuild.com
sudo zypper install gnutlsopenSUSE Tumbleweed package metadata · gnutls · source: download.opensuse.org
scoop install main/gnutlsScoop official bucket manifest trees · bucket/gnutls.json · source: api.github.com
overview
GNU Transport Layer Security (TLS) Library
history
GnuTLS is the GNU Project's TLS library and tool suite for encrypted network protocols. It is packaged both as a developer library and as a set of diagnostic and certificate-management commands, which makes it important to operating-system distributions, network applications, and administrators who need scriptable TLS tooling.
GnuTLS emerged inside the GNU ecosystem as a portable C implementation of the SSL, TLS, and DTLS protocol families. The manual presents it as a library meant to hide protocol complexity behind an API while still exposing certificate handling, key exchange, session management, and authentication choices to applications.
The project developed alongside changes in TLS itself. It added protocol support, X.509 and OpenPGP certificate features, PKCS#11 work, command-line tools such as certtool and gnutls-cli, and library interfaces for both application developers and system integrators. Its GitLab project became the official source-control and issue-tracking home.
GnuTLS found adoption where applications needed a GNU-maintained TLS implementation that could be shipped broadly by distributions. Package managers carry it not only for the user-facing commands but also because other software links against libgnutls for HTTPS, mail, directory services, and other encrypted protocols.
The library's ecosystem significance comes from being a stack component rather than a stand-alone application. Many users meet it indirectly through dependencies, while administrators and developers use the command-line tools to debug handshakes, inspect certificates, test servers, and work with PKCS#11 tokens.
Practitioners use libgnutls in applications that need TLS or DTLS support, and use gnutls-cli, gnutls-serv, gnutls-cli-debug, certtool, ocsptool, p11tool, and psktool for testing and certificate workflows. The manual also covers authentication choices, priority strings, session tickets, certificate credentials, and integration patterns.
In package-manager culture, installing GnuTLS often satisfies both build-time library requirements and operational tooling needs. It is a small command-line surface on top of a security-sensitive shared library, so maintainers care about ABI stability, protocol defaults, and timely security updates.
GnuTLS is one of the packages that turns TLS from a browser feature into ordinary Unix plumbing. It sits in dependency graphs, exposes inspection tools for humans, and gives source-built software a distribution-provided cryptographic backend.
security posture
No matching local secret-handling manifest was found for gnutls. Nucleus package metadata is still published here so future coverage has a stable package URL.
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 |
|---|---|---|---|
gnutls-certtool | cli | global executable | |
gnutls-cli | cli | global executable | |
gnutls-cli-debug | cli | global executable | |
gnutls-serv | cli | global executable | |
ocsptool | cli | global executable | |
p11tool | cli | global executable | |
psktool | cli | global executable |
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:gnutls |
|---|---|
| Version | 3.8.13 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gnutls |
| Homepage | https://gnutls.org/ |
| Repository | https://gitlab.com/gnutls/gnutls |
| Upstream docs | https://gnutls.org/manual/gnutls.html |
| License | LGPL-2.1-or-later AND GPL-3.0-only |
| Source archive | https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.13.tar.xz |
| Last updated | 2026-07-06T01:46:26Z |
| Pulse | updated |
| Dependencies | ca-certificates, gettext, gmp, libidn2, libtasn1, libunistring, nettle, p11-kit |
| Build dependencies | pkgconf, texinfo |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | Guile bindings are now in the `guile-gnutls` formula. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gnutls |
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gnutls
nix profile install nixpkgs#gnutlsgnutls 3.8.13-r0
TLS protocol implementation
sudo apk add gnutlsgnutls-c++ 3.8.13-r0
The C++ interface to GnuTLS
sudo apk add gnutls-c++gnutls-dbg 3.8.13-r0
TLS protocol implementation (debug symbols)
sudo apk add gnutls-dbggnutls-dev 3.8.13-r0
TLS protocol implementation (development files)
sudo apk add gnutls-devgnutls-doc 3.8.13-r0
TLS protocol implementation (documentation)
sudo apk add gnutls-docgnutls-utils 3.8.13-r0
Command line tools for TLS protocol
sudo apk add gnutls-utilsgnutls 3.8.13-1.fc45
A TLS protocol implementation
sudo dnf install gnutlsgnutls-c++ 3.8.13-1.fc45
The C++ interface to GnuTLS
sudo dnf install gnutls-c++gnutls-dane 3.8.13-1.fc45
A DANE protocol implementation for GnuTLS
sudo dnf install gnutls-danegnutls-devel 3.8.13-1.fc45
Development files for the gnutls package
sudo dnf install gnutls-develgnutls-fips 3.8.13-1.fc45
Virtual package to install packages required to use gnutls under FIPS mode
sudo dnf install gnutls-fipsgnutls-utils 3.8.13-1.fc45
Command line tools for TLS protocol
sudo dnf install gnutls-utilsmingw32-gnutls 3.8.13-1.fc45
MinGW GnuTLS TLS/SSL encryption library
sudo dnf install mingw32-gnutlsmingw64-gnutls 3.8.13-1.fc45
MinGW GnuTLS TLS/SSL encryption library
sudo dnf install mingw64-gnutlsgnutls 3.8.13-2
A library which provides a secure layer over a reliable transport layer
sudo pacman -S gnutlssource 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.