How to Install and Uninstall ladvd on Ubuntu 22.04

Updated: September 20, 2022

ladvd sends link layer advertisements on all available interfaces. This makes connected hosts visible on managed switches. By default it will run as a privilege-separated daemon. I will show you how to install ladvd on Ubuntu 22.04 in this guide.

Requirements to install

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install ladvd on Ubuntu 22.04

Install ladvd Ubuntu 22.04

ladvd is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install ladvd using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get ladvd on your Ubuntu 22.04.

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. You can now install ladvd Ubuntu by executing this command in the terminal.

sudo apt install ladvd

Install ladvd using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt install aptitude

Then, you can now install ladvd by following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install ladvd Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install ladvd

Uninstall ladvd on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just ladvd.

You can uninstall ladvd on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove ladvd

You can also execute this command if you want to uninstall ladvd and remove its data and dependencies:

sudo apt autoremove --purge ladvd

Conclusion

In this guide, I showed you ways to install ladvd on Ubuntu 22.04 and ways to uninstall ladvd too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.