How To Install lldpd on Fedora 34
Introduction
In this tutorial we learn how to install lldpd
on Fedora 34.
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. lldpd 1.0.4 6.fc34 x86_64 183 k lldpd-1.0.4-6.fc34.src.rpm fedora ISC-licensed implementation of LLDP https ISC 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install lldpd.
Install lldpd on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install lldpd
using dnf
by running the following command:
sudo dnf -y install lldpd
Install lldpd on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the lldpd
package we can use the following command:
sudo dnf remove lldpd
lldpd Package Contents on Fedora 34
/etc/lldpd.d
/etc/lldpd.d/README.conf
/etc/sysconfig/lldpd
/run/lldpd
/run/lldpd/chroot
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/c665e14fc808e3246884df05d8c3a317de0e8f
/usr/lib/.build-id/69
/usr/lib/.build-id/69/0dc541239996efdb3d0b1fc05aec748357491b
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/577c1ded0fa508dc69e4cbd39218ebd11554c1
/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
/etc/lldpd.d
/etc/lldpd.d/README.conf
/etc/sysconfig/lldpd
/run/lldpd
/run/lldpd/chroot
/usr/lib/.build-id
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/0d763f613449aff4f5cf5f350bbb5aca13d1b7
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/4beaee9cc6a8ac14b3fe7ae7d3c4814dc33d7c
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/62f42f1146e0fc248115d3dd0ebe1ddfe8d110
/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 34 using yum and dnf.