How To Install lldpd on Fedora 36

In this tutorial we learn how to install lldpd in Fedora 36. lldpd is ISC-licensed implementation of LLDP

Introduction

In this tutorial we learn how to install lldpd on Fedora 36.

What is lldpd

LLDP is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as EDP or CDP. The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices.

We can use yum or dnf to install lldpd on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lldpd.

Install lldpd on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install lldpd using dnf by running the following command:

sudo dnf -y install lldpd

Install lldpd on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install lldpd using yum by running the following command:

sudo yum -y install lldpd

How To Uninstall lldpd on Fedora 36

To uninstall only the lldpd package we can use the following command:

sudo dnf remove lldpd

lldpd Package Contents on Fedora 36

/etc/lldpd.d
/etc/lldpd.d/README.conf
/etc/sysconfig/lldpd
/run/lldpd
/run/lldpd/chroot
/usr/lib/.build-id
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/f5c61512d8737dcdcbf59e88dda428d8df50f3
/usr/lib/.build-id/91
/usr/lib/.build-id/91/a8ffba6ce1deb174c7e859fc93439f222d7b07
/usr/lib/.build-id/95
/usr/lib/.build-id/95/5496495bd207f7fd8197169a03b5941d46aaff
/usr/lib/liblldpctl.so.4
/usr/lib/liblldpctl.so.4.8.0
/usr/lib/systemd/system/lldpd.service
/usr/lib/tmpfiles.d/lldpd.conf
/usr/sbin/lldpcli
/usr/sbin/lldpctl
/usr/sbin/lldpd
/usr/share/doc/lldpd
/usr/share/doc/lldpd/NEWS
/usr/share/doc/lldpd/README.md
/usr/share/licenses/lldpd
/usr/share/licenses/lldpd/LICENSE
/usr/share/man/man8/lldpcli.8.gz
/usr/share/man/man8/lldpctl.8.gz
/usr/share/man/man8/lldpd.8.gz
/var/lib/lldpd

References

Summary

In this tutorial we learn how to install lldpd on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install lldpd on Fedora 36” linkTitle: “lldpd” type: “docs” description: “In this tutorial we learn how to install lldpd in Fedora 36. lldpd is ISC-licensed implementation of LLDP” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/lldpd-featured.png

Introduction

In this tutorial we learn how to install lldpd on Fedora 36.

What is lldpd

LLDP is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as EDP or CDP. The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices.

We can use yum or dnf to install lldpd on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lldpd.

Install lldpd on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install lldpd using dnf by running the following command:

sudo dnf -y install lldpd

Install lldpd on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install lldpd using yum by running the following command:

sudo yum -y install lldpd

How To Uninstall lldpd on Fedora 36

To uninstall only the lldpd package we can use the following command:

sudo dnf remove lldpd

lldpd Package Contents on Fedora 36

/etc/lldpd.d
/etc/lldpd.d/README.conf
/etc/sysconfig/lldpd
/run/lldpd
/run/lldpd/chroot
/usr/lib/.build-id
/usr/lib/.build-id/91
/usr/lib/.build-id/91/9965f970027b115ac789280d5651e68a219025
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/e5041300f481a57b7452a74c33caa8bfedcd15
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/2c40f2660674b957fcb65bbea90f9b23a7a861
/usr/lib/systemd/system/lldpd.service
/usr/lib/tmpfiles.d/lldpd.conf
/usr/lib64/liblldpctl.so.4
/usr/lib64/liblldpctl.so.4.8.0
/usr/sbin/lldpcli
/usr/sbin/lldpctl
/usr/sbin/lldpd
/usr/share/doc/lldpd
/usr/share/doc/lldpd/NEWS
/usr/share/doc/lldpd/README.md
/usr/share/licenses/lldpd
/usr/share/licenses/lldpd/LICENSE
/usr/share/man/man8/lldpcli.8.gz
/usr/share/man/man8/lldpctl.8.gz
/usr/share/man/man8/lldpd.8.gz
/var/lib/lldpd

References

Summary

In this tutorial we learn how to install lldpd on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).