# Install lldpd with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Implementation of IEEE 802.1ab (LLDP). Version 1.0.21 via Homebrew; verified from local package data. Also installable with debian: sudo apt install liblldpctl-dev.

## Install

```sh
sudo av install brew:lldpd
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lldpd
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lldpd
```

  Evidence: MacPorts ports tree: net/lldpd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add lldpd
```

  Evidence: Alpine Linux edge package indexes: lldpd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install lldpd
```

  Evidence: Debian stable package indexes: lldpd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install lldpd
```

  Evidence: Fedora Rawhide package metadata: lldpd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#lldpd
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ll/lldpd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lldpd
```

  Evidence: Arch Linux sync databases: lldpd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lldpd
```

  Evidence: openSUSE Tumbleweed package metadata: lldpd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:lldpd
- **Package manager:** Homebrew
- **Version:** 1.0.21
- **Source summary:** Implementation of IEEE 802.1ab (LLDP)
- **Homepage:** <https://lldpd.github.io/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- lldpcli (alias)
- lldpctl (alias)
- lldpd (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.21
## Project history and usage

lldpd is an ISC-licensed LLDP daemon for Unix-like systems. It implements IEEE 802.1AB Link Layer Discovery Protocol and also speaks several older vendor discovery protocols, making it a practical bridge between standards-based and legacy network-neighbor discovery.

### Project history

The project is maintained as a daemon, lldpd, plus command-line clients such as lldpcli and lldpctl. The upstream README describes support for receiving and sending LLDP frames, an SNMP subagent for net-snmp, partial LLDP-MED support, and operation on FreeBSD, GNU/Linux, macOS, NetBSD, OpenBSD, and Solaris.

The public GitHub release history includes lldpd 0.7.8 on May 28, 2014 and the NEWS file records the 1.0.0 series before later 1.0.x maintenance releases. Later entries show steady maintenance around network interface handling, security hardening, protocol parsing, and platform support.

### Adoption history

lldpd fits the operational niche where servers, appliances, lab machines, and network-attached Unix systems need to advertise and inspect their Layer 2 neighbors without relying on a switch-vendor agent. Its support for CDP, FDP, SONMP, and EDP helped it coexist with older proprietary discovery environments while LLDP became the vendor-neutral default.

### How it is used

In normal use, lldpd runs as a daemon that sends and receives discovery advertisements, while lldpcli queries and configures the daemon. Operators use it to identify switch ports, chassis IDs, VLAN hints, management addresses, capabilities, and neighboring devices directly from a host.

Its package-manager value is strongest on Unix-like systems where a small daemon can make server-to-switch topology visible without installing a full network-management stack.

### Why package nerds care

lldpd is the kind of infrastructure package that quietly saves debugging time: after installation, a host can explain what it is connected to at Layer 2. For package nerds, it is also a compact example of a daemon packaged with privilege separation, service integration, SNMP hooks, protocol compatibility, and OS-specific network plumbing.

### Timeline

- 2005: IEEE published the 802.1AB standard for station and media access control connectivity discovery.
- 2014-05-28: lldpd 0.7.8 appeared in GitHub releases.
- 2026-05-14: lldpd 1.0.22 appeared in GitHub releases with security and protocol parsing fixes.

### Related projects

- IEEE 802.1AB defines the LLDP standard that lldpd implements.
- CDP, FDP, EDP, and SONMP are vendor discovery protocols that lldpd can interoperate with.
- net-snmp is related through lldpd's AgentX/SNMP subagent support.

### Sources

- <https://github.com/lldpd/lldpd>
- <https://github.com/lldpd/lldpd/blob/master/NEWS>
- <https://github.com/lldpd/lldpd/releases/tag/0.7.8>
- <https://github.com/lldpd/lldpd/releases/tag/1.0.22>
- <https://lldpd.github.io/>
- <https://lldpd.github.io/usage.html>
- <https://standards.ieee.org/standard/802_1AB-2016.html>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


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


## Configuration files

- Linux: /etc/default/lldpd, /etc/sysconfig/lldpd
## Other Package-Manager Records

- Debian apt - liblldpctl-dev - 1.0.18-1+b1: normalized package name match | Debian stable package indexes: liblldpctl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | implementation of IEEE 802.1ab (LLDP) - development files | https://lldpd.github.io
- Debian apt - lldpd - 1.0.18-1+b1: normalized package name match | Debian stable package indexes: lldpd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | implementation of IEEE 802.1ab (LLDP) | https://lldpd.github.io
- Nix - lldpd: normalized package name match | nixpkgs package indexes: pkgs/by-name/ll/lldpd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liblldpctl-dev - 1.0.18-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: liblldpctl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | implementation of IEEE 802.1ab (LLDP) - development files | https://lldpd.github.io
- Ubuntu apt - lldpd - 1.0.18-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: lldpd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | implementation of IEEE 802.1ab (LLDP) | https://lldpd.github.io
- apk - lldpd - 1.0.22-r0: normalized package name match | Alpine Linux edge package indexes: lldpd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Implementation of IEEE 802.1ab | https://lldpd.github.io/
- apk - lldpd-bash-completion - 1.0.22-r0: normalized package name match | Alpine Linux edge package indexes: lldpd-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for lldpd | https://lldpd.github.io/
- apk - lldpd-dev - 1.0.22-r0: normalized package name match | Alpine Linux edge package indexes: lldpd-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Implementation of IEEE 802.1ab (development files) | https://lldpd.github.io/
- apk - lldpd-doc - 1.0.22-r0: normalized package name match | Alpine Linux edge package indexes: lldpd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Implementation of IEEE 802.1ab (documentation) | https://lldpd.github.io/
- apk - lldpd-openrc - 1.0.22-r0: normalized package name match | Alpine Linux edge package indexes: lldpd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Implementation of IEEE 802.1ab (OpenRC init scripts) | https://lldpd.github.io/
- apk - lldpd-zsh-completion - 1.0.22-r0: normalized package name match | Alpine Linux edge package indexes: lldpd-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for lldpd | https://lldpd.github.io/
- dnf - lldpd - 1.0.18-7.fc45: normalized package name match | Fedora Rawhide package metadata: lldpd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | ISC-licensed implementation of LLDP | https://github.com/lldpd/
- dnf - lldpd-devel - 1.0.18-7.fc45: normalized package name match | Fedora Rawhide package metadata: lldpd-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | ISC-licensed implementation of LLDP | https://github.com/lldpd/
- pacman - lldpd - 1.0.22-1: normalized package name match | Arch Linux sync databases: lldpd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | 802.1ab implementation (LLDP) to help you locate neighbors | https://vincentbernat.github.io/lldpd/
- zypper - liblldpctl4 - 1.0.22-2.3: normalized package name match | openSUSE Tumbleweed package metadata: liblldpctl4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Implementation of IEEE 802.1ab | https://lldpd.github.io/
- zypper - lldpd - 1.0.22-2.3: normalized package name match | openSUSE Tumbleweed package metadata: lldpd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Implementation of IEEE 802.1ab (LLDP) | https://lldpd.github.io/


## Combined YAML source

View the package source record on GitHub. [combined/lldpd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lldpd.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
